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

Unified Diff: Source/core/layout/LayoutTextControlSingleLine.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/LayoutTextControl.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTextControlSingleLine.cpp
diff --git a/Source/core/layout/LayoutTextControlSingleLine.cpp b/Source/core/layout/LayoutTextControlSingleLine.cpp
index afc94f5e6cd7064eb9b2eb84096e6b82aea476bf..1b7a5078021a9ddea7b57c1043ea057d9aad9833 100644
--- a/Source/core/layout/LayoutTextControlSingleLine.cpp
+++ b/Source/core/layout/LayoutTextControlSingleLine.cpp
@@ -233,16 +233,16 @@ void LayoutTextControlSingleLine::styleDidChange(StyleDifference diff, const Lay
// We may have set the width and the height in the old style in layout().
// Reset them now to avoid getting a spurious layout hint.
Element* viewPort = editingViewPortElement();
- if (LayoutObject* viewPortRenderer = viewPort ? viewPort->renderer() : 0) {
+ if (LayoutObject* viewPortRenderer = viewPort ? viewPort->layoutObject() : 0) {
viewPortRenderer->style()->setHeight(Length());
viewPortRenderer->style()->setWidth(Length());
}
Element* container = containerElement();
- if (LayoutObject* containerRenderer = container ? container->renderer() : 0) {
+ if (LayoutObject* containerRenderer = container ? container->layoutObject() : 0) {
containerRenderer->style()->setHeight(Length());
containerRenderer->style()->setWidth(Length());
}
- LayoutObject* innerEditorRenderer = innerEditorElement()->renderer();
+ LayoutObject* innerEditorRenderer = innerEditorElement()->layoutObject();
if (innerEditorRenderer && diff.needsFullLayout())
innerEditorRenderer->setNeedsLayoutAndFullPaintInvalidation();
if (HTMLElement* placeholder = inputElement()->placeholderElement())
« no previous file with comments | « Source/core/layout/LayoutTextControl.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698