Chromium Code Reviews| Index: Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp |
| diff --git a/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp b/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp |
| index 08d1ebccf3f4431cb757904164e00e4ecfa43575..ddfe4f5ccee0e1b016dab404cc7e3f6571969a00 100644 |
| --- a/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp |
| +++ b/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.cpp |
| @@ -15,6 +15,7 @@ |
| #include "GraphicsContext3DPrivate.h" |
| #include "GraphicsLayerChromium.h" |
| #include "HTMLMediaElement.h" |
| +#include "InbandTextTrackPrivateImpl.h" |
| #include "IntSize.h" |
| #include "KURL.h" |
| #include "MediaPlayer.h" |
| @@ -298,6 +299,12 @@ void WebMediaPlayerClientImpl::setWebLayer(WebLayer* layer) |
| } |
| } |
| +void WebMediaPlayerClientImpl::addTextTrack(WebInbandTextTrack* text_track) |
| +{ |
| + m_mediaPlayer->addTextTrack( |
| + WTF::adoptRef(new InbandTextTrackPrivateImpl(text_track))); |
|
acolwell GONE FROM CHROMIUM
2013/04/19 17:45:49
nit: You should not need the WTF. If so then somet
Matthew Heaney (Chromium)
2013/04/20 04:19:25
Done.
|
| +} |
| + |
| // MediaPlayerPrivateInterface ------------------------------------------------- |
| void WebMediaPlayerClientImpl::load(const String& url) |