| Index: content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
| diff --git a/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java b/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
| index 96b4112d608995e0bdf307086edaa3c3429bc684..6d6db1c98e96ad59be3eb2d7e158042d5eb53916 100644
|
| --- a/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
| +++ b/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
|
| @@ -53,8 +53,8 @@ public class ShellManager extends FrameLayout {
|
| @Override
|
| public void onShowCustomView(View view) {
|
| super.onShowCustomView(view);
|
| - if (CommandLine.getInstance().hasSwitch(
|
| - ContentSwitches.ENABLE_OVERLAY_FULLSCREEN_VIDEO_SUBTITLE)) {
|
| + if (!CommandLine.getInstance().hasSwitch(
|
| + ContentSwitches.DISABLE_OVERLAY_FULLSCREEN_VIDEO_SUBTITLE)) {
|
| setOverlayVideoMode(true);
|
| }
|
| }
|
| @@ -62,8 +62,8 @@ public class ShellManager extends FrameLayout {
|
| @Override
|
| public void onDestroyContentVideoView() {
|
| super.onDestroyContentVideoView();
|
| - if (CommandLine.getInstance().hasSwitch(
|
| - ContentSwitches.ENABLE_OVERLAY_FULLSCREEN_VIDEO_SUBTITLE)) {
|
| + if (!CommandLine.getInstance().hasSwitch(
|
| + ContentSwitches.DISABLE_OVERLAY_FULLSCREEN_VIDEO_SUBTITLE)) {
|
| setOverlayVideoMode(false);
|
| }
|
| }
|
|
|