| Index: content/renderer/media/android/webmediaplayer_android.cc
|
| diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
|
| index 2a38656ab6be6de1b38eebe2792234a1712bd711..dbfa2f4c967aa9a9569c60e06868a57728903b96 100644
|
| --- a/content/renderer/media/android/webmediaplayer_android.cc
|
| +++ b/content/renderer/media/android/webmediaplayer_android.cc
|
| @@ -1103,22 +1103,6 @@ scoped_refptr<media::VideoFrame> WebMediaPlayerAndroid::GetCurrentFrame() {
|
| void WebMediaPlayerAndroid::PutCurrentFrame() {
|
| }
|
|
|
| -void WebMediaPlayerAndroid::RemoveSurfaceTextureAndProxy() {
|
| - DCHECK(main_thread_checker_.CalledOnValidThread());
|
| -
|
| - if (texture_id_) {
|
| - GLES2Interface* gl = stream_texture_factory_->ContextGL();
|
| - gl->DeleteTextures(1, &texture_id_);
|
| - // Flush to ensure that the stream texture gets deleted in a timely fashion.
|
| - gl->ShallowFlushCHROMIUM();
|
| - texture_id_ = 0;
|
| - texture_mailbox_ = gpu::Mailbox();
|
| - }
|
| - stream_texture_proxy_.reset();
|
| - needs_establish_peer_ =
|
| - !is_remote_ && !is_fullscreen_ && (hasVideo() || IsHLSStream());
|
| -}
|
| -
|
| void WebMediaPlayerAndroid::UpdateStreamTextureProxyCallback(
|
| cc::VideoFrameProvider::Client* client) {
|
| base::Closure frame_received_cb;
|
|
|