| Index: content/browser/gpu/gpu_process_host.cc
|
| diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
|
| index b3388b1893c4b0fe62b119a21635f25c8db1690d..da11850279b6a80d47e0e7b52173d4e8474feb2b 100644
|
| --- a/content/browser/gpu/gpu_process_host.cc
|
| +++ b/content/browser/gpu/gpu_process_host.cc
|
| @@ -1039,8 +1039,8 @@ bool GpuProcessHost::LaunchGpuProcess(gpu::GpuPreferences* gpu_preferences) {
|
| GpuDataManagerImpl::GetInstance()->AppendGpuCommandLine(cmd_line.get(),
|
| gpu_preferences);
|
| if (cmd_line->HasSwitch(switches::kUseGL)) {
|
| - swiftshader_rendering_ =
|
| - (cmd_line->GetSwitchValueASCII(switches::kUseGL) == "swiftshader");
|
| + swiftshader_rendering_ = (cmd_line->GetSwitchValueASCII(switches::kUseGL) ==
|
| + gl::kGLImplementationSwiftShaderForWebGLName);
|
| }
|
|
|
| bool current_gpu_type_enabled =
|
|
|