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

Unified Diff: content/common/sandbox_win.cc

Issue 177863002: Refactor configuration of sandboxes - first steps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to review comments from jam@ Created 6 years, 10 months 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
Index: content/common/sandbox_win.cc
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
index 6be38a2abea5d021346613b9ae2da568ea442c6c..a73296c94017d76a2e8eff7c76b6116240e5ccf9 100644
--- a/content/common/sandbox_win.cc
+++ b/content/common/sandbox_win.cc
@@ -576,7 +576,7 @@ base::ProcessHandle StartSandboxedProcess(
bool in_sandbox = true;
if (delegate)
- delegate->ShouldSandbox(&in_sandbox);
+ in_sandbox = delegate->ShouldSandbox();
if (browser_command_line.HasSwitch(switches::kNoSandbox) ||
cmd_line->HasSwitch(switches::kNoSandbox)) {

Powered by Google App Engine
This is Rietveld 408576698