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

Unified Diff: chrome/browser/child_process_launcher.cc

Issue 496007: Make ProcessWatcher use kqueues on Mac. (Closed)
Patch Set: No need for a thread Created 11 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 | « base/time_unittest.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/child_process_launcher.cc
diff --git a/chrome/browser/child_process_launcher.cc b/chrome/browser/child_process_launcher.cc
index 956f83640e18274853634d37dcb4d168740d3d9c..1ab66c63dec021b27bfd78b589bf2de0866caf37 100644
--- a/chrome/browser/child_process_launcher.cc
+++ b/chrome/browser/child_process_launcher.cc
@@ -228,11 +228,11 @@ class ChildProcessLauncher::Context
// through the zygote process.
Singleton<ZygoteHost>()->EnsureProcessTerminated(handle);
} else
-#endif // defined(OS_LINUX)
+#endif // OS_LINUX
{
ProcessWatcher::EnsureProcessTerminated(handle);
}
-#endif
+#endif // OS_POSIX
process.Close();
}
« no previous file with comments | « base/time_unittest.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698