Index: Source/web/tests/PinchViewportTest.cpp |
diff --git a/Source/web/tests/PinchViewportTest.cpp b/Source/web/tests/PinchViewportTest.cpp |
index c9f4e10fd04f787d25a29430a0ce1442f731e977..a6157eb65bee9bb884e0305455a1fd9ed421a9c0 100644 |
--- a/Source/web/tests/PinchViewportTest.cpp |
+++ b/Source/web/tests/PinchViewportTest.cpp |
@@ -1326,7 +1326,7 @@ TEST_F(PinchViewportTest, ResizePinchViewportStaysWithinOuterViewport) |
EXPECT_EQ(0, pinchViewport.location().y()); |
} |
-TEST_F(PinchViewportTest, ElementBoundsInRootViewSpaceAccountsForViewport) |
+TEST_F(PinchViewportTest, ElementBoundsInViewportSpaceAccountsForViewport) |
{ |
initializeWithAndroidSettings(); |
@@ -1345,7 +1345,7 @@ TEST_F(PinchViewportTest, ElementBoundsInRootViewSpaceAccountsForViewport) |
pinchViewport.setScale(2); |
pinchViewport.setLocation(scrollDelta); |
- IntRect boundsInViewport = inputElement->boundsInRootViewSpace(); |
+ IntRect boundsInViewport = inputElement->boundsInViewportSpace(); |
EXPECT_POINT_EQ(IntPoint(bounds.location() - scrollDelta), |
boundsInViewport.location()); |