Index: content/shell/android/java/src/org/chromium/content_shell/Shell.java |
diff --git a/content/shell/android/java/src/org/chromium/content_shell/Shell.java b/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
index 4a40a5184509f2350f111dd8d507c666b31f166d..977d19b994a499910dc620d2e79e0a9008f3d83d 100644 |
--- a/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
+++ b/content/shell/android/java/src/org/chromium/content_shell/Shell.java |
@@ -22,7 +22,6 @@ import android.widget.TextView.OnEditorActionListener; |
import org.chromium.base.CalledByNative; |
import org.chromium.base.JNINamespace; |
-import org.chromium.content.browser.ContentVideoView; |
import org.chromium.content.browser.ContentView; |
import org.chromium.content.browser.ContentViewClient; |
import org.chromium.content.browser.ContentViewCore; |
@@ -260,11 +259,6 @@ public class Shell extends LinearLayout { |
mIsFullscreen = enterFullscreen; |
LinearLayout toolBar = (LinearLayout) findViewById(R.id.toolbar); |
toolBar.setVisibility(enterFullscreen ? GONE : VISIBLE); |
- |
- if (!mIsFullscreen) { |
- ContentVideoView videoView = ContentVideoView.getContentVideoView(); |
- if (videoView != null) videoView.exitFullscreen(false); |
- } |
} |
@CalledByNative |