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

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

Issue 9937009: Merge 112623 - Crash in GenericEventQueue::~GenericEventQueue. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 9 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/WebCore/dom/GenericEventQueue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/GenericEventQueue.h
===================================================================
--- Source/WebCore/dom/GenericEventQueue.h (revision 112635)
+++ Source/WebCore/dom/GenericEventQueue.h (working copy)
@@ -27,7 +27,9 @@
#define GenericEventQueue_h
#include "EventQueue.h"
+#include "EventTarget.h"
#include "Timer.h"
+#include <wtf/PassOwnPtr.h>
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
@@ -36,7 +38,8 @@
class GenericEventQueue : public EventQueue {
public:
- GenericEventQueue();
+ GenericEventQueue(EventTarget*);
+ static PassOwnPtr<GenericEventQueue> create(EventTarget*);
virtual ~GenericEventQueue();
// EventQueue
@@ -50,6 +53,7 @@
private:
void timerFired(Timer<GenericEventQueue>*);
+ EventTarget* m_owner;
Vector<RefPtr<Event> > m_pendingEvents;
Timer<GenericEventQueue> m_timer;
« no previous file with comments | « no previous file | Source/WebCore/dom/GenericEventQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698