Index: Source/core/html/shadow/TextControlInnerElements.cpp |
diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp |
index 542c3a773a1569aeb20279234eb294c8c0787add..ec2ea2f1d321141fd4aea793011af10278da6dba 100644 |
--- a/Source/core/html/shadow/TextControlInnerElements.cpp |
+++ b/Source/core/html/shadow/TextControlInnerElements.cpp |
@@ -137,7 +137,7 @@ LayoutObject* TextControlInnerEditorElement::createRenderer(const LayoutStyle&) |
PassRefPtr<LayoutStyle> TextControlInnerEditorElement::customStyleForRenderer() |
{ |
- LayoutObject* parentRenderer = shadowHost()->renderer(); |
+ LayoutObject* parentRenderer = shadowHost()->layoutObject(); |
if (!parentRenderer || !parentRenderer->isTextControl()) |
return originalStyleForRenderer(); |
LayoutTextControl* textControlRenderer = toLayoutTextControl(parentRenderer); |