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

Unified Diff: Source/core/dom/FullscreenElementStack.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/Event.h ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/FullscreenElementStack.cpp
diff --git a/Source/core/dom/FullscreenElementStack.cpp b/Source/core/dom/FullscreenElementStack.cpp
index b72b25b7c0d0ad03ad4d7e8601b951ddecd330ef..43ee0a7bcbfbd8c33ff1acac986bf5ec75edae72 100644
--- a/Source/core/dom/FullscreenElementStack.cpp
+++ b/Source/core/dom/FullscreenElementStack.cpp
@@ -490,7 +490,7 @@ void FullscreenElementStack::fullScreenChangeDelayTimerFired(Timer<FullscreenEle
if (!document()->contains(node.get()) && !node->inDocument())
changeQueue.append(document()->documentElement());
- node->dispatchEvent(Event::create(eventNames().webkitfullscreenchangeEvent, true, false));
+ node->dispatchEvent(Event::createBubble(eventNames().webkitfullscreenchangeEvent));
}
while (!errorQueue.isEmpty()) {
@@ -506,7 +506,7 @@ void FullscreenElementStack::fullScreenChangeDelayTimerFired(Timer<FullscreenEle
if (!document()->contains(node.get()) && !node->inDocument())
errorQueue.append(document()->documentElement());
- node->dispatchEvent(Event::create(eventNames().webkitfullscreenerrorEvent, true, false));
+ node->dispatchEvent(Event::createBubble(eventNames().webkitfullscreenerrorEvent));
}
}
« no previous file with comments | « Source/core/dom/Event.h ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698