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