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

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

Issue 2458743004: Merge "INPUT element: Do not dispatch events in detachLayoutTree()." to M55 branch. (Closed)
Patch Set: Created 4 years, 2 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/ColorInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
index 90b15ba32c8574449eed44fc3e992de234ba49a1..ef360f246876b9cf47f0dfa7660ed20bee6fda35 100644
--- a/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/ColorInputType.cpp
@@ -203,9 +203,8 @@ void ColorInputType::didChooseColor(const Color& color) {
}
void ColorInputType::didEndChooser() {
- EventQueueScope scope;
if (LayoutTheme::theme().isModalColorChooser())
- element().dispatchFormControlChangeEvent();
+ element().enqueueChangeEvent();
m_chooser.clear();
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698