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

Unified Diff: Source/core/loader/TextTrackLoader.h

Issue 244493002: Oilpan: add transition types to track interface objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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/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;

Powered by Google App Engine
This is Rietveld 408576698