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

Unified Diff: Source/core/dom/NodeRenderingTraversal.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master 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
Index: Source/core/dom/NodeRenderingTraversal.cpp
diff --git a/Source/core/dom/NodeRenderingTraversal.cpp b/Source/core/dom/NodeRenderingTraversal.cpp
index efa8ce42cacbe9696a48cddefabaec6b80c7b039..febeef7477ef3164dd4636189953984df89aa2e5 100644
--- a/Source/core/dom/NodeRenderingTraversal.cpp
+++ b/Source/core/dom/NodeRenderingTraversal.cpp
@@ -228,7 +228,7 @@ Node* next(const Node& node, const Node* stayWithin)
LayoutObject* nextSiblingRenderer(const Node& node)
{
for (Node* sibling = NodeRenderingTraversal::nextSibling(node); sibling; sibling = NodeRenderingTraversal::nextSibling(*sibling)) {
- LayoutObject* renderer = sibling->renderer();
+ LayoutObject* renderer = sibling->layoutObject();
Julien - ping for review 2015/03/05 16:19:16 Ditto.
if (renderer && !isRendererReparented(renderer))
return renderer;
}
@@ -238,7 +238,7 @@ LayoutObject* nextSiblingRenderer(const Node& node)
LayoutObject* previousSiblingRenderer(const Node& node)
{
for (Node* sibling = NodeRenderingTraversal::previousSibling(node); sibling; sibling = NodeRenderingTraversal::previousSibling(*sibling)) {
- LayoutObject* renderer = sibling->renderer();
+ LayoutObject* renderer = sibling->layoutObject();
Julien - ping for review 2015/03/05 16:19:16 Ditto.
if (renderer && !isRendererReparented(renderer))
return renderer;
}
@@ -253,7 +253,7 @@ LayoutObject* nextInTopLayer(const Element& element)
size_t position = topLayerElements.find(&element);
ASSERT(position != kNotFound);
for (size_t i = position + 1; i < topLayerElements.size(); ++i) {
- if (LayoutObject* renderer = topLayerElements[i]->renderer())
+ if (LayoutObject* renderer = topLayerElements[i]->layoutObject())
Julien - ping for review 2015/03/05 16:19:16 Ditto.
return renderer;
}
return 0;

Powered by Google App Engine
This is Rietveld 408576698