Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2704)

Unified Diff: Source/web/tests/PinchViewportTest.cpp

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | public/web/WebView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698