Index: third_party/WebKit/Source/core/html/track/vtt/VTTParser.h |
diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTParser.h b/third_party/WebKit/Source/core/html/track/vtt/VTTParser.h |
index ae9b24d4a84e31d93dce45314f79f6358104eac4..262d001ef23a5addbfbeea255cce9450999aa9ef 100644 |
--- a/third_party/WebKit/Source/core/html/track/vtt/VTTParser.h |
+++ b/third_party/WebKit/Source/core/html/track/vtt/VTTParser.h |
@@ -47,13 +47,15 @@ namespace blink { |
class Document; |
class VTTScanner; |
-class VTTParserClient { |
+class VTTParserClient : public GarbageCollectedMixin { |
public: |
virtual ~VTTParserClient() { } |
virtual void newCuesParsed() = 0; |
virtual void newRegionsParsed() = 0; |
virtual void fileFailedToParse() = 0; |
+ |
+ DEFINE_INLINE_VIRTUAL_TRACE() { } |
}; |
class VTTParser final : public GarbageCollectedFinalized<VTTParser> { |
@@ -144,7 +146,7 @@ private: |
StringBuilder m_currentContent; |
String m_currentSettings; |
- VTTParserClient* m_client; |
+ Member<VTTParserClient> m_client; |
HeapVector<Member<TextTrackCue>> m_cueList; |