Bug 1176001 - Turn unconditional log into a manually-enabled log. r=botond
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 18 Jun 2015 16:25:00 -0400
changeset 249630 69d63551c4dd6f48ff0fa9b9ebd102ed859904ec
parent 249629 3c6b38653a58aa3527f2066d0ed585c29f319afc
child 249631 656ea3bfbb4ebc7273001d31d8d00fce04fa83e2
push id61296
push userkgupta@mozilla.com
push dateThu, 18 Jun 2015 20:25:17 +0000
treeherdermozilla-inbound@69d63551c4dd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond
bugs1176001
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1176001 - Turn unconditional log into a manually-enabled log. r=botond
gfx/layers/apz/src/InputBlockState.cpp
--- a/gfx/layers/apz/src/InputBlockState.cpp
+++ b/gfx/layers/apz/src/InputBlockState.cpp
@@ -40,19 +40,17 @@ InputBlockState::SetConfirmedTargetApzc(
   mTargetConfirmed = true;
 
   TBS_LOG("%p got confirmed target APZC %p\n", this, mTargetApzc.get());
   if (mTargetApzc == aTargetApzc) {
     // The confirmed target is the same as the tentative one, so we're done.
     return true;
   }
 
-  // Log enabled by default for now, we will put it in a TBS_LOG eventually
-  // once this code is more baked
-  printf_stderr("%p replacing unconfirmed target %p with real target %p\n",
+  TBS_LOG("%p replacing unconfirmed target %p with real target %p\n",
       this, mTargetApzc.get(), aTargetApzc.get());
 
   UpdateTargetApzc(aTargetApzc);
   return true;
 }
 
 void
 InputBlockState::UpdateTargetApzc(const nsRefPtr<AsyncPanZoomController>& aTargetApzc)