| 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 d7424120a5cd3a93cf390130413924ee22ea6f35..32ce71fd9e837cfeeb0c12041ad44cb51f10ce54 100644
|
| --- a/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| +++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| @@ -1003,19 +1003,8 @@ void GpuDataManagerImplPrivate::InitializeImpl(
|
| UpdateGpuSwitchingManager(gpu_info);
|
| UpdatePreliminaryBlacklistedFeatures();
|
|
|
| - CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| - // We pass down the list to GPU command buffer through commandline
|
| - // switches at GPU process launch. However, in situations where we don't
|
| - // have a GPU process, we append the browser process commandline.
|
| - if (command_line->HasSwitch(switches::kSingleProcess) ||
|
| - command_line->HasSwitch(switches::kInProcessGPU)) {
|
| - if (!gpu_driver_bugs_.empty()) {
|
| - command_line->AppendSwitchASCII(switches::kGpuDriverBugWorkarounds,
|
| - IntSetToString(gpu_driver_bugs_));
|
| - }
|
| - }
|
| #if defined(OS_ANDROID)
|
| - ApplyAndroidWorkarounds(gpu_info, command_line);
|
| + ApplyAndroidWorkarounds(gpu_info, CommandLine::ForCurrentProcess());
|
| #endif // OS_ANDROID
|
| }
|
|
|
|
|