| Index: content/browser/android/surface_texture_peer_browser_impl.cc
|
| diff --git a/content/browser/android/surface_texture_peer_browser_impl.cc b/content/browser/android/surface_texture_peer_browser_impl.cc
|
| index a68286df08b6e8fc247b8d5a5e9a6e6429f303ea..d0eef94e284583147e828a7d7b2a6a061375bea3 100644
|
| --- a/content/browser/android/surface_texture_peer_browser_impl.cc
|
| +++ b/content/browser/android/surface_texture_peer_browser_impl.cc
|
| @@ -38,9 +38,9 @@ static void SetSurfacePeer(jobject j_surface,
|
| if (host) {
|
| media::MediaPlayerBridge* player =
|
| host->media_player_manager()->GetPlayer(player_id);
|
| - if (player) {
|
| - player->SetVideoSurface(j_surface);
|
| - }
|
| + if (player &&
|
| + player != host->media_player_manager()->GetFullscreenPlayer())
|
| + player->SetVideoSurface(j_surface);
|
| }
|
| }
|
|
|
|
|