| Index: chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.cc
|
| diff --git a/chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.cc b/chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.cc
|
| index 1fbefed6b3114f12f1de1f1c3d723b47353e3b5c..a91fcb401fb4ffe7f3ebac0da1ced52454251971 100644
|
| --- a/chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.cc
|
| +++ b/chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.cc
|
| @@ -675,12 +675,11 @@ void TabManagerDelegate::AdjustOomPrioritiesImpl(
|
| int range_middle =
|
| (chrome::kLowestRendererOomScore + chrome::kHighestRendererOomScore) / 2;
|
|
|
| - // Find some pivot point. For now processes with priority >= CHROME_INTERNAL
|
| - // are prone to be affected by LRU change. Taking them as "high priority"
|
| - // processes.
|
| + // Find some pivot point. For now (roughly) apps are in the first half and
|
| + // tabs are in the second half.
|
| auto lower_priority_part = candidates.end();
|
| for (auto it = candidates.begin(); it != candidates.end(); ++it) {
|
| - if (it->process_type() >= ProcessType::BACKGROUND_APP) {
|
| + if (it->process_type() >= ProcessType::BACKGROUND_TAB) {
|
| lower_priority_part = it;
|
| break;
|
| }
|
|
|