Index: Source/core/loader/TextTrackLoader.h |
diff --git a/Source/core/loader/TextTrackLoader.h b/Source/core/loader/TextTrackLoader.h |
index e2fcaed6b86230ba9bb14922b2815cf443660b24..cf29fc193fc3ac5e1fb1b31019e70b93d217bcc2 100644 |
--- a/Source/core/loader/TextTrackLoader.h |
+++ b/Source/core/loader/TextTrackLoader.h |
@@ -30,6 +30,7 @@ |
#include "core/fetch/ResourceOwner.h" |
#include "core/html/track/vtt/VTTParser.h" |
#include "platform/Timer.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/OwnPtr.h" |
namespace WebCore { |
@@ -62,8 +63,8 @@ public: |
enum State { Idle, Loading, Finished, Failed }; |
State loadState() { return m_state; } |
- void getNewCues(Vector<RefPtr<VTTCue> >& outputCues); |
- void getNewRegions(Vector<RefPtr<VTTRegion> >& outputRegions); |
+ void getNewCues(WillBeHeapVector<RefPtrWillBeMember<VTTCue> >& outputCues); |
+ void getNewRegions(WillBeHeapVector<RefPtrWillBeMember<VTTRegion> >& outputRegions); |
private: |
// RawResourceClient |
@@ -81,7 +82,7 @@ private: |
void corsPolicyPreventedLoad(SecurityOrigin*, const KURL&); |
TextTrackLoaderClient& m_client; |
- OwnPtr<VTTParser> m_cueParser; |
+ OwnPtrWillBePersistent<VTTParser> m_cueParser; |
// FIXME: Remove this pointer and get the Document from m_client. |
Document& m_document; |
Timer<TextTrackLoader> m_cueLoadTimer; |