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 42af4cff1032697a424cacf45f6857817f9188e9..49de9843603b19cdb0a83d952fa1bdf3600199b0 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -756,8 +756,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); |
} |
} |