Index: chrome/common/sandbox_init_wrapper_mac.cc |
diff --git a/chrome/common/sandbox_init_wrapper_mac.cc b/chrome/common/sandbox_init_wrapper_mac.cc |
index ca212556d87f7938b3e29dd30b11b9f6be85b19a..d3017b7895ab9a63d36130d71311af8ec5a853ce 100644 |
--- a/chrome/common/sandbox_init_wrapper_mac.cc |
+++ b/chrome/common/sandbox_init_wrapper_mac.cc |
@@ -22,7 +22,7 @@ bool SandboxInitWrapper::InitializeSandbox(const CommandLine& command_line, |
// Browser process isn't sandboxed. |
return true; |
} else if (process_type == switches::kRendererProcess) { |
- if (!command_line.HasSwitch(switches::kDisableExperimentalWebGL) && |
+ if (command_line.HasSwitch(switches::kEnableExperimentalWebGL) && |
command_line.HasSwitch(switches::kInProcessWebGL)) { |
// TODO(kbr): this check seems to be necessary only on this |
// platform because the sandbox is initialized later. Remove |