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

Unified Diff: content/public/browser/gpu_utils.cc

Issue 2839823002: Android: enable HW encoding (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_utils.cc
diff --git a/content/public/browser/gpu_utils.cc b/content/public/browser/gpu_utils.cc
index 245da16f5a380ddeb9ade1966ba5ed45aeb4c92c..a4145ba6443294eedb5b13ded833f323b6d0b830 100644
--- a/content/public/browser/gpu_utils.cc
+++ b/content/public/browser/gpu_utils.cc
@@ -63,9 +63,7 @@ const gpu::GpuPreferences GetGpuPreferencesFromCommandLine() {
#endif
#if BUILDFLAG(ENABLE_WEBRTC)
gpu_preferences.disable_web_rtc_hw_encoding =
- command_line->HasSwitch(switches::kDisableWebRtcHWEncoding) ||
- (command_line->HasSwitch(switches::kDisableWebRtcHWVP8Encoding) &&
- !base::FeatureList::IsEnabled(features::kWebRtcHWH264Encoding));
+ command_line->HasSwitch(switches::kDisableWebRtcHWEncoding);
#endif
#if defined(OS_WIN)
uint32_t enable_accelerated_vpx_decode_val =
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698