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

Unified Diff: Source/core/layout/LayoutView.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/LayoutTreeAsText.cpp ('k') | Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutView.cpp
diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp
index 2539bc21435e1a973e99fb38957aedf6b3b8e703..6f78b62d2a3d951b85f995676a60e33b8caa4b2d 100644
--- a/Source/core/layout/LayoutView.cpp
+++ b/Source/core/layout/LayoutView.cpp
@@ -798,8 +798,8 @@ void LayoutView::commitPendingSelection()
// because we don't yet notify the FrameSelection of text removal.
if (startPos.isNull() || endPos.isNull() || selection.visibleStart() == selection.visibleEnd())
return;
- LayoutObject* startRenderer = startPos.anchorNode()->renderer();
- LayoutObject* endRenderer = endPos.anchorNode()->renderer();
+ LayoutObject* startRenderer = startPos.anchorNode()->layoutObject();
+ LayoutObject* endRenderer = endPos.anchorNode()->layoutObject();
if (!startRenderer || !endRenderer)
return;
ASSERT(startRenderer->view() == this && endRenderer->view() == this);
@@ -858,7 +858,7 @@ bool LayoutView::rootBackgroundIsEntirelyFixed() const
LayoutObject* LayoutView::backgroundRenderer() const
{
if (Element* documentElement = document().documentElement()) {
- if (LayoutObject* rootObject = documentElement->renderer())
+ if (LayoutObject* rootObject = documentElement->layoutObject())
return rootObject->rendererForRootBackground();
}
return 0;
« no previous file with comments | « Source/core/layout/LayoutTreeAsText.cpp ('k') | Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698