Index: Source/core/html/forms/FileInputType.cpp |
diff --git a/Source/core/html/forms/FileInputType.cpp b/Source/core/html/forms/FileInputType.cpp |
index ec3027d569732167bc20081b22106ea6df4eba1c..8ddc55ebeef356b52192d43a13f0c6fcd237e289 100644 |
--- a/Source/core/html/forms/FileInputType.cpp |
+++ b/Source/core/html/forms/FileInputType.cpp |
@@ -213,7 +213,7 @@ void FileInputType::setValue(const String&, bool valueChanged, TextFieldEventBeh |
return; |
m_fileList->clear(); |
- element().setNeedsStyleRecalc(SubtreeStyleChange); |
+ element().setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue)); |
element().setNeedsValidityCheck(); |
} |