forked from mirrors/gecko-dev
Backed out changeset 7e150ae89101 (bug 1590933) for build bustage at CrossProcessPaint.cpp on a CLOSED TREE.
This commit is contained in:
parent
121c93797e
commit
de7e94921c
1 changed files with 9 additions and 7 deletions
|
|
@ -15,7 +15,6 @@
|
|||
#include "mozilla/dom/WindowGlobalActorsBinding.h"
|
||||
#include "mozilla/gfx/DrawEventRecorder.h"
|
||||
#include "mozilla/gfx/InlineTranslator.h"
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/PresShell.h"
|
||||
|
||||
#include "gfxPlatform.h"
|
||||
|
|
@ -25,13 +24,16 @@
|
|||
#include "nsIDocShell.h"
|
||||
#include "nsPresContext.h"
|
||||
|
||||
static mozilla::LazyLogModule gCrossProcessPaintLog("CrossProcessPaint");
|
||||
static mozilla::LazyLogModule gPaintFragmentLog("PaintFragment");
|
||||
#define ENABLE_PAINT_LOG 0
|
||||
// #define ENABLE_PAINT_LOG 1
|
||||
|
||||
#define CPP_LOG(msg, ...) \
|
||||
MOZ_LOG(gCrossProcessPaintLog, LogLevel::Debug, (msg, ##__VA_ARGS__))
|
||||
#define PF_LOG(msg, ...) \
|
||||
MOZ_LOG(gPaintFragmentLog, LogLevel::Debug, (msg, ##__VA_ARGS__))
|
||||
#if ENABLE_PAINT_LOG
|
||||
# define PF_LOG(...) printf_stderr("PaintFragment: " __VA_ARGS__)
|
||||
# define CPP_LOG(...) printf_stderr("CrossProcessPaint: " __VA_ARGS__)
|
||||
#else
|
||||
# define PF_LOG(...)
|
||||
# define CPP_LOG(...)
|
||||
#endif
|
||||
|
||||
namespace mozilla {
|
||||
namespace gfx {
|
||||
|
|
|
|||
Loading…
Reference in a new issue