Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2107)

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 639413002: [aw] Reuse WebContents PowerSaveBlocker in fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testsForPowerSaver
Patch Set: Nits Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index deb5fee4b48fab24ee74e2727626a0778350cf31..100d1ca5e7c2258536ef01eab1e825b11b59733c 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -67,12 +67,6 @@ 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);

Powered by Google App Engine
This is Rietveld 408576698