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

Unified Diff: Source/core/events/ScopedEventQueue.h

Issue 333623002: Oilpan: Prepare to move EventDispatchMediator to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/events/MouseEvent.cpp ('k') | Source/core/events/ScopedEventQueue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/ScopedEventQueue.h
diff --git a/Source/core/events/ScopedEventQueue.h b/Source/core/events/ScopedEventQueue.h
index 4f3c928cb70544e63186e399c3b8183c6e498009..1e92d5308f4e826a6eef1df063a5f55c83200c16 100644
--- a/Source/core/events/ScopedEventQueue.h
+++ b/Source/core/events/ScopedEventQueue.h
@@ -31,6 +31,7 @@
#ifndef ScopedEventQueue_h
#define ScopedEventQueue_h
+#include "platform/heap/Handle.h"
#include "wtf/Noncopyable.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -45,7 +46,7 @@ class ScopedEventQueue {
public:
~ScopedEventQueue();
- void enqueueEventDispatchMediator(PassRefPtr<EventDispatchMediator>);
+ void enqueueEventDispatchMediator(PassRefPtrWillBeRawPtr<EventDispatchMediator>);
void dispatchAllEvents();
static ScopedEventQueue* instance();
@@ -55,9 +56,9 @@ public:
private:
ScopedEventQueue();
static void initialize();
- void dispatchEvent(PassRefPtr<EventDispatchMediator>) const;
+ void dispatchEvent(PassRefPtrWillBeRawPtr<EventDispatchMediator>) const;
- Vector<RefPtr<EventDispatchMediator> > m_queuedEventDispatchMediators;
+ WillBePersistentHeapVector<RefPtrWillBeMember<EventDispatchMediator> > m_queuedEventDispatchMediators;
unsigned m_scopingLevel;
static ScopedEventQueue* s_instance;
« no previous file with comments | « Source/core/events/MouseEvent.cpp ('k') | Source/core/events/ScopedEventQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698