| Index: base/process/process_win.cc
|
| diff --git a/base/process/process_win.cc b/base/process/process_win.cc
|
| index 2ad72c706b0549b9dbc544b686eac2658f0ab571..30cd9dc737268e01c557c3def27bada318c20b93 100644
|
| --- a/base/process/process_win.cc
|
| +++ b/base/process/process_win.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/metrics/field_trial.h"
|
| #include "base/numerics/safe_conversions.h"
|
| #include "base/process/kill.h"
|
| +#include "base/strings/string_util.h"
|
| #include "base/win/windows_version.h"
|
|
|
| namespace {
|
| @@ -189,8 +190,10 @@ bool Process::SetProcessBackgrounded(bool value) {
|
| DWORD background_priority = IDLE_PRIORITY_CLASS;
|
| base::FieldTrial* trial =
|
| base::FieldTrialList::Find("BackgroundRendererProcesses");
|
| - if (trial && trial->group_name() == "AllowBelowNormalFromBrowser")
|
| + if (trial && StartsWith(trial->group_name(), "AllowBelowNormalFromBrowser",
|
| + CompareCase::SENSITIVE)) {
|
| background_priority = BELOW_NORMAL_PRIORITY_CLASS;
|
| + }
|
|
|
| priority = value ? background_priority : NORMAL_PRIORITY_CLASS;
|
| }
|
|
|