Index: content/browser/child_process_launcher.cc |
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc |
index 92a3b0e78fe265556e83dffefe4b08d7d26d56ae..94bb73e1142b788b92a8572128714e6912dd9b23 100644 |
--- a/content/browser/child_process_launcher.cc |
+++ b/content/browser/child_process_launcher.cc |
@@ -385,7 +385,11 @@ void SetProcessBackgroundedOnLauncherThread(base::Process process, |
bool background) { |
DCHECK_CURRENTLY_ON(BrowserThread::PROCESS_LAUNCHER); |
if (process.CanBackgroundProcesses()) { |
+#if defined(OS_MACOSX) |
+ process.SetProcessBackgrounded(MachBroker::GetInstance(), background); |
+#else |
process.SetProcessBackgrounded(background); |
+#endif // defined(OS_MACOSX) |
} |
#if defined(OS_ANDROID) |
SetChildProcessInForeground(process.Handle(), !background); |