| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index cdaa29c44e2b211fe3522dbd104124bf908dc08d..4d7e8f6466a043c2f58599e12402085e437eee68 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -1950,16 +1950,19 @@ void RenderProcessHostImpl::SetBackgrounded(bool backgrounded) {
|
| // is to not invoke the SetPriorityClass API if the dll is loaded.
|
| if (GetModuleHandle(L"cbstext.dll"))
|
| return;
|
| +#endif // OS_WIN
|
|
|
| - // Windows Vista+ has a fancy process backgrounding mode that can only be set
|
| - // from within the process. So notify the child process of background state.
|
| + // Notify the child process of background state.
|
| Send(new ChildProcessMsg_SetProcessBackgrounded(backgrounded));
|
| -#else
|
|
|
| +#if !defined(OS_WIN)
|
| // Backgrounding may require elevated privileges not available to renderer
|
| // processes, so control backgrounding from the process host.
|
| +
|
| + // Windows Vista+ has a fancy process backgrounding mode that can only be set
|
| + // from within the process.
|
| child_process_launcher_->SetProcessBackgrounded(backgrounded);
|
| -#endif // OS_WIN
|
| +#endif // !OS_WIN
|
| }
|
|
|
| void RenderProcessHostImpl::OnProcessLaunched() {
|
|
|