summaryrefslogtreecommitdiff
path: root/chromium/content/browser/child_process_launcher_helper_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/child_process_launcher_helper_win.cc')
-rw-r--r--chromium/content/browser/child_process_launcher_helper_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/content/browser/child_process_launcher_helper_win.cc b/chromium/content/browser/child_process_launcher_helper_win.cc
index d839c7b8604..59289019991 100644
--- a/chromium/content/browser/child_process_launcher_helper_win.cc
+++ b/chromium/content/browser/child_process_launcher_helper_win.cc
@@ -8,6 +8,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/win/scoped_handle.h"
#include "base/win/win_util.h"
+#include "content/browser/child_process_launcher.h"
#include "content/browser/child_process_launcher_helper.h"
#include "content/common/sandbox_win.h"
#include "content/public/common/result_codes.h"
@@ -109,11 +110,10 @@ void ChildProcessLauncherHelper::ForceNormalProcessTerminationSync(
void ChildProcessLauncherHelper::SetProcessPriorityOnLauncherThread(
base::Process process,
- bool background,
- bool boost_for_pending_views) {
+ const ChildProcessLauncherPriority& priority) {
DCHECK_CURRENTLY_ON(BrowserThread::PROCESS_LAUNCHER);
if (process.CanBackgroundProcesses())
- process.SetProcessBackgrounded(background);
+ process.SetProcessBackgrounded(priority.background);
}
// static