| 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..e82a49f6afe0ebdf56796113d5ebb8962d4147ff 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(StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue), SubtreeStyleChange);
|
| element().setNeedsValidityCheck();
|
| }
|
|
|
|
|