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

Unified Diff: Source/core/dom/Node.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/FullscreenElementStack.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index d5389ef6084a8067ceea21ee4c5c9c69012ded94..75e593c85d50ed048bcf4b588367a3784b7016b6 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -2478,12 +2478,12 @@ bool Node::dispatchWheelEvent(const PlatformWheelEvent& event)
void Node::dispatchChangeEvent()
{
- dispatchScopedEvent(Event::create(eventNames().changeEvent, true, false));
+ dispatchScopedEvent(Event::createBubble(eventNames().changeEvent));
}
void Node::dispatchInputEvent()
{
- dispatchScopedEvent(Event::create(eventNames().inputEvent, true, false));
+ dispatchScopedEvent(Event::createBubble(eventNames().inputEvent));
}
void Node::defaultEventHandler(Event* event)
« no previous file with comments | « Source/core/dom/FullscreenElementStack.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698