Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java |
index c04f6d032ae76de0fab36906e7ede57af1ad52a3..1ffb47d6d2a0e1b56dedd89659f49a52029b915c 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java |
@@ -12,7 +12,6 @@ import org.chromium.chrome.browser.UrlUtilities; |
import org.chromium.chrome.browser.contextmenu.ChromeContextMenuPopulator; |
import org.chromium.chrome.browser.contextmenu.ContextMenuPopulator; |
import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType; |
-import org.chromium.content.browser.ContentVideoView; |
import org.chromium.content.browser.ContentViewClient; |
import org.chromium.content_public.browser.LoadUrlParams; |
import org.chromium.content_public.browser.NavigationController; |
@@ -127,12 +126,6 @@ public class ChromeShellTab extends Tab { |
public void toggleFullscreenModeForTab(boolean enterFullscreen) { |
mIsFullscreen = enterFullscreen; |
super.toggleFullscreenModeForTab(enterFullscreen); |
- |
- if (!mIsFullscreen) { |
- ContentVideoView videoView = ContentVideoView.getContentVideoView(); |
- if (videoView != null) videoView.exitFullscreen(false); |
- } |
- |
} |
@Override |