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

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

Issue 216523002: Oilpan: Replace most of RefPtrs for Event objects with oilpan's transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/core/dom/ScriptedAnimationController.h
diff --git a/Source/core/dom/ScriptedAnimationController.h b/Source/core/dom/ScriptedAnimationController.h
index 5f7efb887e9cc96ebe8810b48d59ff1d548bc853..32ebf3ed11e19a9505809d337e8d0831cd632b6e 100644
--- a/Source/core/dom/ScriptedAnimationController.h
+++ b/Source/core/dom/ScriptedAnimationController.h
@@ -26,6 +26,7 @@
#ifndef ScriptedAnimationController_h
#define ScriptedAnimationController_h
+#include "heap/Handle.h"
#include "wtf/ListHashSet.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
@@ -54,8 +55,8 @@ public:
void cancelCallback(CallbackId);
void serviceScriptedAnimations(double monotonicTimeNow);
- void enqueueEvent(PassRefPtr<Event>);
- void enqueuePerFrameEvent(PassRefPtr<Event>);
+ void enqueueEvent(PassRefPtrWillBeRawPtr<Event>);
+ void enqueuePerFrameEvent(PassRefPtrWillBeRawPtr<Event>);
void suspend();
void resume();
@@ -75,7 +76,7 @@ private:
Document* m_document;
CallbackId m_nextCallbackId;
int m_suspendCount;
- Vector<RefPtr<Event> > m_eventQueue;
+ WillBePersistentHeapVector<RefPtrWillBeMember<Event> > m_eventQueue;
ListHashSet<std::pair<const EventTarget*, const StringImpl*> > m_perFrameEvents;
};

Powered by Google App Engine
This is Rietveld 408576698