| Index: third_party/WebKit/Source/core/html/track/InbandTextTrack.h
|
| diff --git a/third_party/WebKit/Source/core/html/track/InbandTextTrack.h b/third_party/WebKit/Source/core/html/track/InbandTextTrack.h
|
| index 4ee005cae8d8718355b6e76a898baf531c7724dc..bbb1de51991acc6e9abb68f7ab345dff42195427 100644
|
| --- a/third_party/WebKit/Source/core/html/track/InbandTextTrack.h
|
| +++ b/third_party/WebKit/Source/core/html/track/InbandTextTrack.h
|
| @@ -29,7 +29,7 @@
|
| #include "core/html/track/TextTrack.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/WebInbandTextTrackClient.h"
|
| -#include "wtf/RefPtr.h"
|
| +#include "wtf/Assertions.h"
|
|
|
| namespace blink {
|
| class WebInbandTextTrack;
|
| @@ -47,7 +47,7 @@ class InbandTextTrack final : public TextTrack,
|
| void setTrackList(TextTrackList*) override;
|
|
|
| private:
|
| - InbandTextTrack(WebInbandTextTrack*);
|
| + explicit InbandTextTrack(WebInbandTextTrack*);
|
|
|
| void addWebVTTCue(double,
|
| double,
|
| @@ -58,6 +58,10 @@ class InbandTextTrack final : public TextTrack,
|
| WebInbandTextTrack* m_webTrack;
|
| };
|
|
|
| +// All concrete implementations of WebInbandTextTrackClient are
|
| +// InbandTextTracks.
|
| +DEFINE_TYPE_CASTS(InbandTextTrack, WebInbandTextTrackClient, track, true, true);
|
| +
|
| } // namespace blink
|
|
|
| #endif
|
|
|