| Index: trunk/src/gpu/command_buffer/service/memory_program_cache.cc
|
| ===================================================================
|
| --- trunk/src/gpu/command_buffer/service/memory_program_cache.cc (revision 194502)
|
| +++ trunk/src/gpu/command_buffer/service/memory_program_cache.cc (working copy)
|
| @@ -142,8 +142,8 @@
|
| shader_b->set_uniform_map(value->uniform_map_1);
|
|
|
| if (!shader_callback.is_null() &&
|
| - !CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kDisableGpuShaderDiskCache)) {
|
| + CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableGpuShaderDiskCache)) {
|
| GpuProgramProto* proto = GpuProgramProto::default_instance().New();
|
| proto->set_sha(sha, kHashLength);
|
| proto->set_format(value->format);
|
| @@ -212,8 +212,8 @@
|
| }
|
|
|
| if (!shader_callback.is_null() &&
|
| - !CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kDisableGpuShaderDiskCache)) {
|
| + CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableGpuShaderDiskCache)) {
|
| GpuProgramProto* proto = GpuProgramProto::default_instance().New();
|
| proto->set_sha(sha, kHashLength);
|
| proto->set_format(format);
|
|
|