Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Unified Diff: third_party/WebKit/Source/core/html/forms/FileInputType.cpp

Issue 2796853002: Update text field 'change' event logic to match to Firefox. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/forms/FileInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
index 76597c53e380ec8b56f1751742c382b1cc8eaf8c..3b5ec36246c345f8ba7b3a3a64e7daf3544c05bd 100644
--- a/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FileInputType.cpp
@@ -319,7 +319,6 @@ void FileInputType::setFiles(FileList* files) {
// input instance is safe since it is ref-counted.
element().dispatchChangeEvent();
}
- element().setChangedSinceLastFormControlChangeEvent(false);
}
void FileInputType::filesChosen(const Vector<FileChooserFileInfo>& files) {
« no previous file with comments | « third_party/WebKit/Source/core/html/TextControlElement.cpp ('k') | third_party/WebKit/Source/core/html/forms/InputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698