| Index: content/browser/gpu/gpu_data_manager_impl.cc
|
| ===================================================================
|
| --- content/browser/gpu/gpu_data_manager_impl.cc (revision 157852)
|
| +++ content/browser/gpu/gpu_data_manager_impl.cc (working copy)
|
| @@ -449,12 +449,10 @@
|
| void GpuDataManagerImpl::EnableSoftwareRenderingIfNecessary() {
|
| if (!GpuAccessAllowed() ||
|
| (gpu_feature_type_ & content::GPU_FEATURE_TYPE_WEBGL)) {
|
| -#if defined(ENABLE_SWIFTSHADER)
|
| if (!swiftshader_path_.empty() &&
|
| !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableSoftwareRasterizer))
|
| software_rendering_ = true;
|
| -#endif
|
| }
|
| }
|
|
|
| @@ -470,4 +468,3 @@
|
| EnableSoftwareRenderingIfNecessary();
|
| NotifyGpuInfoUpdate();
|
| }
|
| -
|
|
|