| Index: Source/web/WebMediaPlayerClientImpl.cpp
|
| diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp
|
| index daf680968bdc102e5388be4d30a665f0dc7c6636..b5547e46e26fef2c95a143872f8234775321301c 100644
|
| --- a/Source/web/WebMediaPlayerClientImpl.cpp
|
| +++ b/Source/web/WebMediaPlayerClientImpl.cpp
|
| @@ -264,18 +264,6 @@ bool WebMediaPlayerClientImpl::seeking() const
|
| return false;
|
| }
|
|
|
| -double WebMediaPlayerClientImpl::rate() const
|
| -{
|
| - return m_rate;
|
| -}
|
| -
|
| -void WebMediaPlayerClientImpl::setRate(double rate)
|
| -{
|
| - m_rate = rate;
|
| - if (m_webMediaPlayer)
|
| - m_webMediaPlayer->setRate(rate);
|
| -}
|
| -
|
| bool WebMediaPlayerClientImpl::paused() const
|
| {
|
| if (m_webMediaPlayer)
|
| @@ -303,25 +291,6 @@ MediaPlayer::NetworkState WebMediaPlayerClientImpl::networkState() const
|
| return MediaPlayer::Empty;
|
| }
|
|
|
| -double WebMediaPlayerClientImpl::maxTimeSeekable() const
|
| -{
|
| - if (m_webMediaPlayer)
|
| - return m_webMediaPlayer->maxTimeSeekable();
|
| - return 0.0;
|
| -}
|
| -
|
| -PassRefPtr<TimeRanges> WebMediaPlayerClientImpl::buffered() const
|
| -{
|
| - if (m_webMediaPlayer)
|
| - return TimeRanges::create(m_webMediaPlayer->buffered());
|
| - return TimeRanges::create();
|
| -}
|
| -
|
| -bool WebMediaPlayerClientImpl::didLoadingProgress() const
|
| -{
|
| - return m_webMediaPlayer && m_webMediaPlayer->didLoadingProgress();
|
| -}
|
| -
|
| void WebMediaPlayerClientImpl::paint(GraphicsContext* context, const IntRect& rect)
|
| {
|
| // Normally GraphicsContext operations do nothing when painting is disabled.
|
| @@ -425,7 +394,6 @@ void WebMediaPlayerClientImpl::paintOnAndroid(WebCore::GraphicsContext* context,
|
| WebMediaPlayerClientImpl::WebMediaPlayerClientImpl(MediaPlayerClient* client)
|
| : m_client(client)
|
| , m_preload(MediaPlayer::Auto)
|
| - , m_rate(1.0)
|
| #if OS(ANDROID)
|
| , m_usePaintOnAndroid(false)
|
| #endif
|
|
|