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

Unified Diff: Source/web/ExternalPopupMenuTest.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/ContextMenuClientImpl.cpp ('k') | Source/web/FindInPageCoordinates.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ExternalPopupMenuTest.cpp
diff --git a/Source/web/ExternalPopupMenuTest.cpp b/Source/web/ExternalPopupMenuTest.cpp
index cf52eef11a6b360598e9f6752a741f9b0a01f74c..b058b0a36bf4d33ae9a5ed2808bf945ad845d02d 100644
--- a/Source/web/ExternalPopupMenuTest.cpp
+++ b/Source/web/ExternalPopupMenuTest.cpp
@@ -196,7 +196,7 @@ TEST_F(ExternalPopupMenuTest, PopupAccountsForPinchViewportOffset)
webView()->layout();
HTMLSelectElement* select = toHTMLSelectElement(mainFrame()->frame()->document()->getElementById("select"));
- LayoutMenuList* menuList = toLayoutMenuList(select->renderer());
+ LayoutMenuList* menuList = toLayoutMenuList(select->layoutObject());
ASSERT_TRUE(menuList);
PinchViewport& pinchViewport = webView()->page()->frameHost().pinchViewport();
@@ -219,7 +219,7 @@ TEST_F(ExternalPopupMenuTest, DidAcceptIndex)
loadFrame("select.html");
HTMLSelectElement* select = toHTMLSelectElement(mainFrame()->frame()->document()->getElementById("select"));
- LayoutMenuList* menuList = toLayoutMenuList(select->renderer());
+ LayoutMenuList* menuList = toLayoutMenuList(select->layoutObject());
ASSERT_TRUE(menuList);
menuList->showPopup();
@@ -238,7 +238,7 @@ TEST_F(ExternalPopupMenuTest, DidAcceptIndices)
loadFrame("select.html");
HTMLSelectElement* select = toHTMLSelectElement(mainFrame()->frame()->document()->getElementById("select"));
- LayoutMenuList* menuList = toLayoutMenuList(select->renderer());
+ LayoutMenuList* menuList = toLayoutMenuList(select->layoutObject());
ASSERT_TRUE(menuList);
menuList->showPopup();
@@ -259,7 +259,7 @@ TEST_F(ExternalPopupMenuTest, DidAcceptIndicesClearSelect)
loadFrame("select.html");
HTMLSelectElement* select = toHTMLSelectElement(mainFrame()->frame()->document()->getElementById("select"));
- LayoutMenuList* menuList = toLayoutMenuList(select->renderer());
+ LayoutMenuList* menuList = toLayoutMenuList(select->layoutObject());
ASSERT_TRUE(menuList);
menuList->showPopup();
« no previous file with comments | « Source/web/ContextMenuClientImpl.cpp ('k') | Source/web/FindInPageCoordinates.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698