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

Unified Diff: base/process_win.cc

Issue 8506036: Fix tab backgrounding on Linux / ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the DPCHECK Created 9 years, 1 month 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
Index: base/process_win.cc
diff --git a/base/process_win.cc b/base/process_win.cc
index 8b4c2b04f87db95f232f258c1c2fb23d8efb7dd6..3f683ab3e5a70a58dacddb5798dfaafdbf8ea15f 100644
--- a/base/process_win.cc
+++ b/base/process_win.cc
@@ -79,6 +79,11 @@ Process Process::Current() {
return Process(::GetCurrentProcess());
}
+// static
+bool Process::CanBackgroundProcesses() {
+ return true;
+}
+
int Process::GetPriority() const {
DCHECK(process_);
return ::GetPriorityClass(process_);

Powered by Google App Engine
This is Rietveld 408576698