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)); |