Index: chrome/common/sandbox_init_wrapper_mac.cc |
=================================================================== |
--- chrome/common/sandbox_init_wrapper_mac.cc (revision 58489) |
+++ chrome/common/sandbox_init_wrapper_mac.cc (working copy) |
@@ -22,7 +22,7 @@ |
// Browser process isn't sandboxed. |
return true; |
} else if (process_type == switches::kRendererProcess) { |
- if (command_line.HasSwitch(switches::kEnableExperimentalWebGL) && |
+ if (!command_line.HasSwitch(switches::kDisableExperimentalWebGL) && |
command_line.HasSwitch(switches::kInProcessWebGL)) { |
// TODO(kbr): this check seems to be necessary only on this |
// platform because the sandbox is initialized later. Remove |