diff options
Diffstat (limited to 'android_webview/lib/main/aw_main_delegate.cc')
-rw-r--r-- | android_webview/lib/main/aw_main_delegate.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc index f6ecd07..1bceb4b 100644 --- a/android_webview/lib/main/aw_main_delegate.cc +++ b/android_webview/lib/main/aw_main_delegate.cc @@ -79,6 +79,12 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { // File system API not supported (requires some new API; internal bug 6930981) cl->AppendSwitch(switches::kDisableFileSystem); + // For fullscreen video we create a new container view to host the + // WebContents, ie. the FullscreenView. As a result we cannot reuse the + // embedded video blocker attached to the old container view, so we create a + // new blocker instead attached to the ContentVideoView. + cl->AppendSwitch(switches::kEnableContentVideoViewPowerSaveBlocker); + #if defined(VIDEO_HOLE) // Support EME/L1 with hole-punching. cl->AppendSwitch(switches::kMediaDrmEnableNonCompositing); |