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

Unified Diff: content/child/child_thread.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/renderer_host/render_process_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread.cc
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc
index e606a1728b48faf88da06438e7dca02c84e2219b..45d10da729360beb9547ab5fc6a6c4efc114c320 100644
--- a/content/child/child_thread.cc
+++ b/content/child/child_thread.cc
@@ -567,7 +567,9 @@ void ChildThread::OnProcessBackgrounded(bool background) {
#ifdef OS_WIN
// Windows Vista+ has a fancy process backgrounding mode that can only be set
// from within the process.
- base::Process::Current().SetProcessBackgrounded(background);
+ // TODO(wfh) Do not set background from within process until the issue with
+ // white tabs is resolved. See http://crbug.com/398103.
+ // base::Process::Current().SetProcessBackgrounded(background);
#endif // OS_WIN
}
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698