| Index: Source/core/rendering/RenderTextControlSingleLine.cpp
|
| diff --git a/Source/core/rendering/RenderTextControlSingleLine.cpp b/Source/core/rendering/RenderTextControlSingleLine.cpp
|
| index 582997b5a5f8ae13d51df7cd52044fb4bb832027..61637b798ecdd43088c2d2a12ee558ffe24b8d47 100644
|
| --- a/Source/core/rendering/RenderTextControlSingleLine.cpp
|
| +++ b/Source/core/rendering/RenderTextControlSingleLine.cpp
|
| @@ -241,7 +241,7 @@ void RenderTextControlSingleLine::styleDidChange(StyleDifference diff, const Ren
|
| containerRenderer->style()->setWidth(Length());
|
| }
|
| RenderObject* innerTextRenderer = innerTextElement()->renderer();
|
| - if (innerTextRenderer && diff.needsFullLayout())
|
| + if (innerTextRenderer && diff == StyleDifferenceLayout)
|
| innerTextRenderer->setNeedsLayout();
|
| if (HTMLElement* placeholder = inputElement()->placeholderElement())
|
| placeholder->setInlineStyleProperty(CSSPropertyTextOverflow, textShouldBeTruncated() ? CSSValueEllipsis : CSSValueClip);
|
|
|