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