Bug 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 08 Jan 2015 11:29:20 -0500
changeset 248619 9cb763be208ea0a6fe5e6a841e9fc8e6a344ef28
parent 248618 142bb8c88b3b7ed355cfb43716e595ce9f606d20
child 248620 6698118c0b5466df4b73831ddc836da610937f32
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1109873
milestone37.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 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD
gfx/layers/apz/src/APZCTreeManager.cpp
--- a/gfx/layers/apz/src/APZCTreeManager.cpp
+++ b/gfx/layers/apz/src/APZCTreeManager.cpp
@@ -1369,19 +1369,19 @@ APZCTreeManager::GetAPZCAtPoint(HitTesti
       if (*aOutHitResult == OverscrolledApzc) {
         // We matched an overscrolled APZC, abort.
         return nullptr;
       }
     }
 
     // If we didn't match anything in the subtree, check |node|.
     if (!result) {
-      APZCTM_LOG("Testing ParentLayer point %f %f (Layer %f %f) against node %p\n",
-          aHitTestPoint.x, aHitTestPoint.y,
-          hitTestPointForChildLayers.x, hitTestPointForChildLayers.y,
+      APZCTM_LOG("Testing ParentLayer point %s (Layer %s) against node %p\n",
+          Stringify(aHitTestPoint).c_str(),
+          hitTestPointForChildLayers ? Stringify(hitTestPointForChildLayers.ref()).c_str() : "nil",
           node);
       HitTestResult hitResult = node->HitTest(aHitTestPoint);
       if (hitResult != HitTestResult::NoApzcHit) {
         result = node->GetNearestContainingApzc();
         APZCTM_LOG("Successfully matched APZC %p via node %p (hit result %d)\n",
              result, node, hitResult);
         MOZ_ASSERT(hitResult == ApzcHitRegion || hitResult == ApzcContentRegion);
         // If event regions are disabled, *aOutHitResult will be ApzcHitRegion