Index: Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
index aee74dfd44c484d1eb9d6286225aeba93da99afc..0be141ae491a809a16819ed85030d9801f46884f 100644 |
--- a/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/Source/core/html/HTMLTextAreaElement.cpp |
@@ -376,7 +376,7 @@ void HTMLTextAreaElement::setValueCommon(const String& newValue, TextFieldEventB |
if (eventBehavior == DispatchNoEvent) |
setLastChangeWasNotUserEdit(); |
updatePlaceholderVisibility(false); |
- setNeedsStyleRecalc(SubtreeStyleChange); |
+ setNeedsStyleRecalc(StyleChangeReasonForTracing::ControlValue, SubtreeStyleChange); |
m_suggestedValue = String(); |
setNeedsValidityCheck(); |
if (isFinishedParsingChildren()) { |
@@ -468,7 +468,7 @@ void HTMLTextAreaElement::setSuggestedValue(const String& value) |
else |
setInnerEditorValue(m_value); |
updatePlaceholderVisibility(false); |
- setNeedsStyleRecalc(SubtreeStyleChange); |
+ setNeedsStyleRecalc(StyleChangeReasonForTracing::ControlValue, SubtreeStyleChange); |
} |
String HTMLTextAreaElement::validationMessage() const |