Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1218)

Unified Diff: chrome/common/sandbox_init_wrapper_mac.cc

Issue 6045003: (Re-landing http://codereview.chromium.org/5991003) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/common/sandbox_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/common/sandbox_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698