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

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

Issue 420603014: Do not set low priority on background tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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') | no next file » | 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 be63ff21b13972beb948153e231e842ce8f46132..5c3fbc35019b3077af64737a43ba747b9e302446 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -2033,7 +2033,9 @@ void RenderProcessHostImpl::SetBackgrounded(bool backgrounded) {
#endif // OS_WIN
// Notify the child process of background state.
- Send(new ChildProcessMsg_SetProcessBackgrounded(backgrounded));
+ // 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));
#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') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698