Index: content/renderer/media/webinbandtexttrack_impl.cc |
diff --git a/content/renderer/media/webinbandtexttrack_impl.cc b/content/renderer/media/webinbandtexttrack_impl.cc |
index 3d80286cb1d853cd76a664fd64efaeda436e59e8..20f2d6f644cf9318b6a047e55faf9f68f5d642fc 100644 |
--- a/content/renderer/media/webinbandtexttrack_impl.cc |
+++ b/content/renderer/media/webinbandtexttrack_impl.cc |
@@ -14,7 +14,6 @@ WebInbandTextTrackImpl::WebInbandTextTrackImpl( |
const blink::WebString& language, |
int index) |
: client_(NULL), |
- mode_(ModeDisabled), |
kind_(kind), |
label_(label), |
language_(language), |
@@ -34,29 +33,10 @@ blink::WebInbandTextTrackClient* WebInbandTextTrackImpl::client() { |
return client_; |
} |
-void WebInbandTextTrackImpl::setMode(Mode mode) { |
- mode_ = mode; |
-} |
- |
-WebInbandTextTrackImpl::Mode WebInbandTextTrackImpl::mode() const { |
- return mode_; |
-} |
- |
WebInbandTextTrackImpl::Kind WebInbandTextTrackImpl::kind() const { |
return kind_; |
} |
-bool WebInbandTextTrackImpl::isClosedCaptions() const { |
- switch (kind_) { |
- case KindCaptions: |
- case KindSubtitles: |
- return true; |
- |
- default: |
- return false; |
- } |
-} |
- |
blink::WebString WebInbandTextTrackImpl::label() const { |
return label_; |
} |
@@ -65,10 +45,6 @@ blink::WebString WebInbandTextTrackImpl::language() const { |
return language_; |
} |
-bool WebInbandTextTrackImpl::isDefault() const { |
- return false; |
-} |
- |
int WebInbandTextTrackImpl::textTrackIndex() const { |
return index_; |
} |