Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1225)

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 14119009: Revert "Revert 193798 "Revert r192949 "Disable shader disk cache by defa..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | gpu/command_buffer/service/gpu_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | gpu/command_buffer/service/gpu_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698