Bug 1305201 - Follow-up to fix some debug logging. r=me and DONTBUILD because NPOTB
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 03 Oct 2016 12:42:55 -0400
changeset 316244 bdb051f7a44f15ee0199e7c03f9c93ed83d133dd
parent 316243 db8b6698e822cbbf072e47230c499070a24eaaaf
child 316245 a359909d4490460a2cfd301003f48172c0f2add7
push id30766
push userphilringnalda@gmail.com
push dateTue, 04 Oct 2016 03:09:34 +0000
treeherdermozilla-central@c8a660c5f105 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1305201
milestone52.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 1305201 - Follow-up to fix some debug logging. r=me and DONTBUILD because NPOTB MozReview-Commit-ID: 9k2LzUrj6bP
gfx/layers/apz/src/AsyncPanZoomController.cpp
--- a/gfx/layers/apz/src/AsyncPanZoomController.cpp
+++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp
@@ -1250,17 +1250,17 @@ nsEventStatus AsyncPanZoomController::On
     // Clear our state so that we don't stay in the PANNING state
     // if DispatchFling() gives the fling to somone else. However,
     // don't send the state change notification until we've determined
     // what our final state is to avoid notification churn.
     StateChangeNotificationBlocker blocker(this);
     SetState(NOTHING);
 
     APZC_LOG("%p starting a fling animation if %f >= %f\n", this,
-        flingVelocity.Length(), gfxPrefs::APZFlingMinVelocityThreshold());
+        flingVelocity.Length().value, gfxPrefs::APZFlingMinVelocityThreshold());
 
     if (flingVelocity.Length() < gfxPrefs::APZFlingMinVelocityThreshold()) {
       return nsEventStatus_eConsumeNoDefault;
     }
 
     // Make a local copy of the tree manager pointer and check that it's not
     // null before calling DispatchFling(). This is necessary because Destroy(),
     // which nulls out mTreeManager, could be called concurrently.