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

Unified Diff: Source/core/dom/Fullscreen.cpp

Issue 1154163013: Add Event::create() that takes EventInitDictionary (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « no previous file | Source/core/events/Event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Fullscreen.cpp
diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
index ee6554e6b87b3237a027ff02f5929bbe6e8ef357..5e404e2f56227e0a5c8ef04afd33b2ed2e381bba 100644
--- a/Source/core/dom/Fullscreen.cpp
+++ b/Source/core/dom/Fullscreen.cpp
@@ -113,8 +113,8 @@ static bool isPrefixed(const AtomicString& type)
static PassRefPtrWillBeRawPtr<Event> createEvent(const AtomicString& type, EventTarget& target)
{
- EventInit initializer;
- initializer.bubbles = isPrefixed(type);
+ EventInitDictionary initializer;
+ initializer.setBubbles(isPrefixed(type));
RefPtrWillBeRawPtr<Event> event = Event::create(type, initializer);
event->setTarget(&target);
return event;
« no previous file with comments | « no previous file | Source/core/events/Event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698