| Index: content/browser/gpu/gpu_data_manager_impl_private.cc
|
| diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| index e6667c27cb9e2028b54076edf927f60e8cd4da09..3a1da35e23a274e8097871dda88ddbbac93f573c 100644
|
| --- a/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| +++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| @@ -728,11 +728,6 @@ void GpuDataManagerImplPrivate::AppendRendererCommandLine(
|
|
|
| if (ShouldDisableAcceleratedVideoDecode(command_line))
|
| command_line->AppendSwitch(switches::kDisableAcceleratedVideoDecode);
|
| -#if BUILDFLAG(ENABLE_WEBRTC)
|
| - if (IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE) &&
|
| - !command_line->HasSwitch(switches::kDisableWebRtcHWVP8Encoding))
|
| - command_line->AppendSwitch(switches::kDisableWebRtcHWVP8Encoding);
|
| -#endif
|
|
|
| #if defined(USE_AURA)
|
| if (!CanUseGpuBrowserCompositor())
|
| @@ -814,25 +809,6 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine(
|
| }
|
| #endif
|
|
|
| -#if BUILDFLAG(ENABLE_WEBRTC)
|
| -if (IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE)) {
|
| -#if defined (OS_ANDROID)
|
| - // On Android HW H264 is enabled by default behind a flag now, regardless of
|
| - // the blacklist. Disable HW encoding if every single HW codec is disabled.
|
| - // TODO(braveyao): remove this once the blacklist is removed
|
| - // (crbug.com/638664).
|
| - if (!base::FeatureList::IsEnabled(features::kWebRtcHWH264Encoding)) {
|
| -#endif
|
| - if (!command_line->HasSwitch(switches::kDisableWebRtcHWEncoding))
|
| - command_line->AppendSwitch(switches::kDisableWebRtcHWEncoding);
|
| - if (gpu_preferences)
|
| - gpu_preferences->disable_web_rtc_hw_encoding = true;
|
| -#if defined (OS_ANDROID)
|
| - }
|
| -#endif
|
| -}
|
| -#endif
|
| -
|
| if (gpu_preferences) { // enable_es3_apis
|
| bool blacklisted = IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_WEBGL2);
|
| bool enabled = base::CommandLine::ForCurrentProcess()->HasSwitch(
|
|
|