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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/tests/LayoutGeometryMapTest.cpp ('k') | Source/web/tests/ScrollingCoordinatorTest.cpp » ('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 08e168e8010559155345ad320f59eeb0c1d6b675..c0faa92694b971d468887a8e9269168e7543cf3a 100644
--- a/Source/web/tests/PinchViewportTest.cpp
+++ b/Source/web/tests/PinchViewportTest.cpp
@@ -902,7 +902,7 @@ TEST_F(PinchViewportTest, TestWebViewResizeCausesViewportConstrainedLayout)
registerMockedHttpURLLoad("pinch-viewport-fixed-pos.html");
navigateTo(m_baseURL + "pinch-viewport-fixed-pos.html");
- LayoutObject* navbar = frame()->document()->getElementById("navbar")->renderer();
+ LayoutObject* navbar = frame()->document()->getElementById("navbar")->layoutObject();
EXPECT_FALSE(navbar->needsLayout());
@@ -1338,7 +1338,7 @@ TEST_F(PinchViewportTest, ElementBoundsInViewportSpaceAccountsForViewport)
webViewImpl()->setInitialFocus(false);
Element* inputElement = webViewImpl()->focusedElement();
- IntRect bounds = inputElement->renderer()->absoluteBoundingBoxRect();
+ IntRect bounds = inputElement->layoutObject()->absoluteBoundingBoxRect();
PinchViewport& pinchViewport = frame()->page()->frameHost().pinchViewport();
IntPoint scrollDelta(250, 400);
« no previous file with comments | « Source/web/tests/LayoutGeometryMapTest.cpp ('k') | Source/web/tests/ScrollingCoordinatorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698