Index: Source/core/layout/LayoutTextControlSingleLine.cpp |
diff --git a/Source/core/layout/LayoutTextControlSingleLine.cpp b/Source/core/layout/LayoutTextControlSingleLine.cpp |
index 6b15c212c81d45cc63910aa64dff83b0db2e699f..3e7d6402b5cc53d17bf5a0bfda83ca80a093913e 100644 |
--- a/Source/core/layout/LayoutTextControlSingleLine.cpp |
+++ b/Source/core/layout/LayoutTextControlSingleLine.cpp |
@@ -244,7 +244,7 @@ void LayoutTextControlSingleLine::styleDidChange(StyleDifference diff, const Lay |
} |
LayoutObject* innerEditorRenderer = innerEditorElement()->layoutObject(); |
if (innerEditorRenderer && diff.needsFullLayout()) |
- innerEditorRenderer->setNeedsLayoutAndFullPaintInvalidation(); |
+ innerEditorRenderer->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::StyleChange); |
if (HTMLElement* placeholder = inputElement()->placeholderElement()) |
placeholder->setInlineStyleProperty(CSSPropertyTextOverflow, textShouldBeTruncated() ? CSSValueEllipsis : CSSValueClip); |
setHasOverflowClip(false); |