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

Unified Diff: Source/core/dom/GenericEventQueue.h

Issue 15739014: Avoid referencing an HTMLMediaElement if is currently being deleted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
Index: Source/core/dom/GenericEventQueue.h
diff --git a/Source/core/dom/GenericEventQueue.h b/Source/core/dom/GenericEventQueue.h
index 5900a72b0af50ea831e968e15c0325daf8bee1b3..7ef9885237d67fbbdda6df8885de3642b06f81c9 100644
--- a/Source/core/dom/GenericEventQueue.h
+++ b/Source/core/dom/GenericEventQueue.h
@@ -47,6 +47,9 @@ public:
virtual bool cancelEvent(Event*) OVERRIDE;
virtual void close() OVERRIDE;
+ // Implicit target is considered the owner of the queue.
+ bool enqueueEventWithoutTarget(PassRefPtr<Event>);
+
void cancelAllEvents();
bool hasPendingEvents() const;

Powered by Google App Engine
This is Rietveld 408576698