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 d65ee7051e37f1221b3ef24ac07d4e9cbf2cbcfa..229b32130771497a93817c573bfc5627e3da8c51 100644 |
--- a/chrome/common/sandbox_init_wrapper_mac.cc |
+++ b/chrome/common/sandbox_init_wrapper_mac.cc |
@@ -53,9 +53,10 @@ bool SandboxInitWrapper::InitializeSandbox(const CommandLine& command_line, |
} else if (process_type == switches::kNaClLoaderProcess) { |
// Native Client sel_ldr (user untrusted code) sandbox. |
sandbox_process_type = Sandbox::SANDBOX_TYPE_NACL_LOADER; |
+ } else if (process_type == switches::kGpuProcess) { |
+ sandbox_process_type = Sandbox::SANDBOX_TYPE_GPU; |
} else if ((process_type == switches::kPluginProcess) || |
(process_type == switches::kProfileImportProcess) || |
- (process_type == switches::kGpuProcess) || |
(process_type == switches::kServiceProcess)) { |
return true; |
} else { |