Index: Source/web/WebMediaPlayerClientImpl.cpp |
diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp |
index 835aa75f2d8a2f26587c4a5a62a6028ed5944cac..8ae9ba35a8c2767d27701d7cd673129784e9af49 100644 |
--- a/Source/web/WebMediaPlayerClientImpl.cpp |
+++ b/Source/web/WebMediaPlayerClientImpl.cpp |
@@ -106,21 +106,11 @@ void WebMediaPlayerClientImpl::sizeChanged() |
m_client->mediaPlayerSizeChanged(); |
} |
-double WebMediaPlayerClientImpl::volume() const |
-{ |
- return mediaElement().effectiveMediaVolume(); |
-} |
- |
void WebMediaPlayerClientImpl::playbackStateChanged() |
{ |
m_client->mediaPlayerPlaybackStateChanged(); |
} |
-WebMediaPlayer::Preload WebMediaPlayerClientImpl::preload() const |
-{ |
- return static_cast<WebMediaPlayer::Preload>(m_preload); |
-} |
- |
void WebMediaPlayerClientImpl::keyAdded(const WebString& keySystem, const WebString& sessionId) |
{ |
HTMLMediaElementEncryptedMedia::keyAdded(mediaElement(), keySystem, sessionId); |
@@ -223,8 +213,6 @@ void WebMediaPlayerClientImpl::load(WebMediaPlayer::LoadType loadType, const WTF |
void WebMediaPlayerClientImpl::setPreload(MediaPlayer::Preload preload) |
{ |
- m_preload = preload; |
- |
if (m_webMediaPlayer) |
m_webMediaPlayer->setPreload(static_cast<WebMediaPlayer::Preload>(preload)); |
} |
@@ -243,7 +231,6 @@ PassOwnPtr<MediaPlayer> WebMediaPlayerClientImpl::create(MediaPlayerClient* clie |
WebMediaPlayerClientImpl::WebMediaPlayerClientImpl(MediaPlayerClient* client) |
: m_client(client) |
- , m_preload(MediaPlayer::Auto) |
{ |
ASSERT(m_client); |
} |