Bug 1282902 - Enable MVM logging draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Thu, 30 Jun 2016 15:44:29 +0200
changeset 382912 dda83355eda257383801aa4ffc0e1053668f8c5b
parent 382911 a400cfa26a08088f3ef9a06baa14f6dd84588bf4
child 382913 5c1f6491c4c0783b6c19f86546a9496075365cb5
push id21871
push usermozilla@buttercookie.de
push dateThu, 30 Jun 2016 20:44:35 +0000
bugs1282902
milestone50.0a1
Bug 1282902 - Enable MVM logging MozReview-Commit-ID: BFBxSZGn2Gy
layout/base/MobileViewportManager.cpp
--- a/layout/base/MobileViewportManager.cpp
+++ b/layout/base/MobileViewportManager.cpp
@@ -11,18 +11,18 @@
 #include "nsIFrame.h"
 #include "nsLayoutUtils.h"
 #include "nsPresShell.h"
 #include "nsViewManager.h"
 #include "nsViewportInfo.h"
 #include "UnitTransforms.h"
 #include "nsIDocument.h"
 
-#define MVM_LOG(...)
-// #define MVM_LOG(...) printf_stderr("MVM: " __VA_ARGS__)
+// #define MVM_LOG(...)
+#define MVM_LOG(...) printf_stderr("MVM: " __VA_ARGS__)
 
 NS_IMPL_ISUPPORTS(MobileViewportManager, nsIDOMEventListener, nsIObserver)
 
 static const nsLiteralString DOM_META_ADDED = NS_LITERAL_STRING("DOMMetaAdded");
 static const nsLiteralString DOM_META_CHANGED = NS_LITERAL_STRING("DOMMetaChanged");
 static const nsLiteralString FULL_ZOOM_CHANGE = NS_LITERAL_STRING("FullZoomChange");
 static const nsLiteralString LOAD = NS_LITERAL_STRING("load");
 static const nsLiteralCString BEFORE_FIRST_PAINT = NS_LITERAL_CSTRING("before-first-paint");