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 c96663d1227cc91480c1d7191ce48cab9ee5e871..2d2a5e2a7aa597a5ff084161c83253f22f1757b4 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -717,8 +717,8 @@ void GpuProcessHost::EstablishGpuChannel( |
callback.Run(IPC::ChannelHandle(), GPUInfo()); |
} |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableGpuShaderDiskCache)) { |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableGpuShaderDiskCache)) { |
CreateChannelCache(client_id, gpu::kDefaultMaxProgramCacheMemoryBytes); |
} |
} |