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

Unified Diff: Source/core/layout/LayoutListItem.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/core/layout/LayoutListBox.cpp ('k') | Source/core/layout/LayoutMultiColumnFlowThreadTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutListItem.cpp
diff --git a/Source/core/layout/LayoutListItem.cpp b/Source/core/layout/LayoutListItem.cpp
index bfbc32fdbb12958a6c9b15088a4f8b6dbc9e6e17..50d4fdd5911b38b2bb024972013b03293f01f44f 100644
--- a/Source/core/layout/LayoutListItem.cpp
+++ b/Source/core/layout/LayoutListItem.cpp
@@ -129,7 +129,7 @@ static LayoutListItem* nextListItem(const Node* listNode, const LayoutListItem*
continue;
}
- LayoutObject* renderer = current->renderer();
+ LayoutObject* renderer = current->layoutObject();
if (renderer && renderer->isListItem())
return toLayoutListItem(renderer);
@@ -147,7 +147,7 @@ static LayoutListItem* previousListItem(const Node* listNode, const LayoutListIt
ASSERT(current);
ASSERT(!current->document().childNeedsDistributionRecalc());
for (current = NodeRenderingTraversal::previous(*current, listNode); current && current != listNode; current = NodeRenderingTraversal::previous(*current, listNode)) {
- LayoutObject* renderer = current->renderer();
+ LayoutObject* renderer = current->layoutObject();
if (!renderer || (renderer && !renderer->isListItem()))
continue;
Node* otherList = enclosingList(toLayoutListItem(renderer));
« no previous file with comments | « Source/core/layout/LayoutListBox.cpp ('k') | Source/core/layout/LayoutMultiColumnFlowThreadTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698