Index: Source/core/html/HTMLTrackElement.h |
diff --git a/Source/core/html/HTMLTrackElement.h b/Source/core/html/HTMLTrackElement.h |
index 11406a7b8a4aba9ff416f317864582906dd2eb38..f390f585fa251cd2fab3520abebc05547d68680e 100644 |
--- a/Source/core/html/HTMLTrackElement.h |
+++ b/Source/core/html/HTMLTrackElement.h |
@@ -29,6 +29,7 @@ |
#include "core/html/HTMLElement.h" |
#include "core/html/track/LoadableTextTrack.h" |
#include "core/html/track/TextTrack.h" |
+#include "platform/heap/Handle.h" |
namespace WebCore { |
@@ -54,6 +55,8 @@ public: |
const AtomicString& mediaElementCrossOriginAttribute() const; |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
explicit HTMLTrackElement(Document&); |
virtual ~HTMLTrackElement(); |
@@ -72,7 +75,7 @@ private: |
LoadableTextTrack* ensureTrack(); |
bool canLoadUrl(const KURL&); |
- RefPtr<LoadableTextTrack> m_track; |
+ RefPtrWillBeMember<LoadableTextTrack> m_track; |
Timer<HTMLTrackElement> m_loadTimer; |
}; |