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

Unified Diff: content/browser/bootstrap_sandbox_mac.cc

Issue 1346923006: Refactor the bootstrap sandbox process launching integration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: RevokeToken Created 5 years, 3 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
« no previous file with comments | « base/process/launch_posix.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/bootstrap_sandbox_mac.cc
diff --git a/content/browser/bootstrap_sandbox_mac.cc b/content/browser/bootstrap_sandbox_mac.cc
index 82864a393fc43ea423231d1e1dfae7f7b660296d..8938c7a5b3c56f1214e8138cd01091a26d2d25eb 100644
--- a/content/browser/bootstrap_sandbox_mac.cc
+++ b/content/browser/bootstrap_sandbox_mac.cc
@@ -51,13 +51,13 @@ BootstrapSandboxPolicy* BootstrapSandboxPolicy::GetInstance() {
void BootstrapSandboxPolicy::BrowserChildProcessHostDisconnected(
const ChildProcessData& data) {
- sandbox()->ChildDied(data.handle);
+ sandbox()->InvalidateClient(data.handle);
}
void BootstrapSandboxPolicy::BrowserChildProcessCrashed(
const ChildProcessData& data,
int exit_code) {
- sandbox()->ChildDied(data.handle);
+ sandbox()->InvalidateClient(data.handle);
}
BootstrapSandboxPolicy::BootstrapSandboxPolicy()
« no previous file with comments | « base/process/launch_posix.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698