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

Unified Diff: Source/core/html/HTMLInputElement.cpp

Issue 23714003: Refactoring: Add Event::createBubble. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/html/HTMLTextFormControlElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 8adbb34a9212e1b23edef8a0a529f0378a2db85c..a434cb3938b7df341fb3f55bbf27e47c8048daf9 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -1416,7 +1416,7 @@ void HTMLInputElement::onSearch()
ASSERT(isSearchField());
if (m_inputType)
static_cast<SearchInputType*>(m_inputType.get())->stopSearchEventTimer();
- dispatchEvent(Event::create(eventNames().searchEvent, true, false));
+ dispatchEvent(Event::createBubble(eventNames().searchEvent));
}
void HTMLInputElement::updateClearButtonVisibility()
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/html/HTMLTextFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698