Index: chrome/common/sandbox_init_wrapper_mac.cc |
=================================================================== |
--- chrome/common/sandbox_init_wrapper_mac.cc (revision 69760) |
+++ chrome/common/sandbox_init_wrapper_mac.cc (working copy) |
@@ -24,7 +24,8 @@ |
// Browser process isn't sandboxed. |
return true; |
} else if (process_type == switches::kRendererProcess) { |
- if (!command_line.HasSwitch(switches::kDisableExperimentalWebGL) && |
+ if (!command_line.HasSwitch(switches::kDisable3DAPIs) && |
+ !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 |