| Index: Source/core/html/shadow/TextControlInnerElements.cpp
|
| diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| index 96a0e970617718fbaa0b347c41c33440ed84651e..5fcc26be23f26f94a08a6606db8b2bd6b93f6da1 100644
|
| --- a/Source/core/html/shadow/TextControlInnerElements.cpp
|
| +++ b/Source/core/html/shadow/TextControlInnerElements.cpp
|
| @@ -138,11 +138,11 @@ LayoutObject* TextControlInnerEditorElement::createLayoutObject(const ComputedSt
|
|
|
| PassRefPtr<ComputedStyle> TextControlInnerEditorElement::customStyleForLayoutObject()
|
| {
|
| - LayoutObject* parentRenderer = shadowHost()->layoutObject();
|
| - if (!parentRenderer || !parentRenderer->isTextControl())
|
| + LayoutObject* parentLayoutObject = shadowHost()->layoutObject();
|
| + if (!parentLayoutObject || !parentLayoutObject->isTextControl())
|
| return originalStyleForLayoutObject();
|
| - LayoutTextControl* textControlRenderer = toLayoutTextControl(parentRenderer);
|
| - return textControlRenderer->createInnerEditorStyle(textControlRenderer->styleRef());
|
| + LayoutTextControl* textControlLayoutObject = toLayoutTextControl(parentLayoutObject);
|
| + return textControlLayoutObject->createInnerEditorStyle(textControlLayoutObject->styleRef());
|
| }
|
|
|
| // ----------------------------
|
|
|