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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 421373002: Do not set background priority in-process on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: do not set priority from within child process Created 6 years, 5 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 | « content/browser/child_process_launcher.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5c3fbc35019b3077af64737a43ba747b9e302446..be63ff21b13972beb948153e231e842ce8f46132 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -2033,9 +2033,7 @@ void RenderProcessHostImpl::SetBackgrounded(bool backgrounded) {
#endif // OS_WIN
// Notify the child process of background state.
- // TODO(wfh): re-enable this after testing if dropping the priority of
- // backgrounded tabs is the root cause of http://crbug.com/381820.
- // Send(new ChildProcessMsg_SetProcessBackgrounded(backgrounded));
+ Send(new ChildProcessMsg_SetProcessBackgrounded(backgrounded));
#if !defined(OS_WIN)
// Backgrounding may require elevated privileges not available to renderer
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698