diff options
Diffstat (limited to 'content/browser/android/content_video_view.cc')
-rw-r--r-- | content/browser/android/content_video_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/android/content_video_view.cc b/content/browser/android/content_video_view.cc index 5407032..9e0a830 100644 --- a/content/browser/android/content_video_view.cc +++ b/content/browser/android/content_video_view.cc @@ -211,7 +211,7 @@ gfx::NativeView ContentVideoView::GetNativeView() { JavaObjectWeakGlobalRef ContentVideoView::CreateJavaObject() { ContentViewCoreImpl* content_view_core = manager_->GetContentViewCore(); JNIEnv* env = AttachCurrentThread(); - bool legacyMode = CommandLine::ForCurrentProcess()->HasSwitch( + bool legacyMode = base::CommandLine::ForCurrentProcess()->HasSwitch( switches::kDisableOverlayFullscreenVideoSubtitle); return JavaObjectWeakGlobalRef( env, @@ -224,7 +224,7 @@ JavaObjectWeakGlobalRef ContentVideoView::CreateJavaObject() { } void ContentVideoView::CreatePowerSaveBlocker() { - if (!CommandLine::ForCurrentProcess()->HasSwitch( + if (!base::CommandLine::ForCurrentProcess()->HasSwitch( switches::kDisableOverlayFullscreenVideoSubtitle)) { return; } |