Bug 1443231 - Follow-up to fix warning-as-error on Windows (CLOSED TREE). r=bustage draft
authorBotond Ballo <botond@mozilla.com>
Mon, 05 Mar 2018 16:38:17 -0500
changeset 763372 28599b97474986480280b43a39249958a110d571
parent 763365 1abf2296d0f6afad7ef96edeef807d7190fea68f
child 763374 078b5aa8d558bc2c8bdd13ebe142706287c8123b
push id101436
push userbballo@mozilla.com
push dateMon, 05 Mar 2018 21:42:42 +0000
reviewersbustage
bugs1443231
milestone60.0a1
Bug 1443231 - Follow-up to fix warning-as-error on Windows (CLOSED TREE). r=bustage MozReview-Commit-ID: 52PVwcjRVu3
gfx/layers/apz/test/gtest/TestSnapping.cpp
--- a/gfx/layers/apz/test/gtest/TestSnapping.cpp
+++ b/gfx/layers/apz/test/gtest/TestSnapping.cpp
@@ -89,12 +89,12 @@ TEST_F(APZCSnappingTester, Snap_After_Pi
   UniquePtr<ScopedLayerTreeRegistration> registration = MakeUnique<ScopedLayerTreeRegistration>(manager, 0, root, mcc);
   manager->UpdateHitTestingTree(0, root, false, 0, 0);
 
   RefPtr<TestAsyncPanZoomController> apzc = ApzcOf(root);
 
   // Allow zooming
   apzc->UpdateZoomConstraints(ZoomConstraints(true, true, CSSToParentLayerScale(0.25f), CSSToParentLayerScale(4.0f)));
 
-  PinchWithPinchInput(apzc, ScreenIntPoint(50, 50), ScreenIntPoint(50, 50), 1.2);
+  PinchWithPinchInput(apzc, ScreenIntPoint(50, 50), ScreenIntPoint(50, 50), 1.2f);
 
   apzc->AssertStateIsSmoothScroll();
-}
\ No newline at end of file
+}