| 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 deb3417c3bd29a37e265987f8f6e33fb06dd2236..e6a97839d06d4b5e1fb211b528eef78957ce83b8 100644
|
| --- a/content/renderer/media/android/webmediaplayer_android.cc
|
| +++ b/content/renderer/media/android/webmediaplayer_android.cc
|
| @@ -851,10 +851,10 @@ void WebMediaPlayerAndroid::OnVideoSizeChanged(int width, int height) {
|
| needs_external_surface_ = true;
|
| if (!paused() && !is_fullscreen_)
|
| player_manager_->RequestExternalSurface(player_id_, last_computed_rect_);
|
| - } else if (stream_texture_proxy_ && !stream_id_) {
|
| + } else if (!stream_texture_proxy_) {
|
| // Do deferred stream texture creation finally.
|
| - DoCreateStreamTexture();
|
| SetNeedsEstablishPeer(true);
|
| + TryCreateStreamTextureProxyIfNeeded();
|
| }
|
| #endif // defined(VIDEO_HOLE)
|
| natural_size_.width = width;
|
|
|