LeOSium_old/patches/0003-LeOS/20-39/27 - Enable-SPPI-for-device...

29 lines
1.2 KiB
Diff
Raw Normal View History

2023-11-18 11:23:04 +01:00
From: csagan5 <32685696+csagan5@users.noreply.github.com>
Date: Sun, 17 Mar 2019 19:09:00 +0100
Subject: Enable SPPI for devices with enough memory
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
Change-Id: I144845fa78cfb71afb86064bffd7f8e8027c6b63
---
chrome/common/chrome_features.cc | 8 ++------
components/site_isolation/features.cc | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/components/site_isolation/features.cc b/components/site_isolation/features.cc
--- a/components/site_isolation/features.cc
+++ b/components/site_isolation/features.cc
@@ -64,8 +64,8 @@ BASE_FEATURE(kSiteIsolationForOAuthSites,
// kSitePerProcess won't be checked at all, and field trials won't activate
// either the control or the experiment group.
BASE_FEATURE(kSiteIsolationMemoryThresholds,
- "SiteIsolationMemoryThresholds",
- base::FEATURE_DISABLED_BY_DEFAULT);
+ "SiteIsolationMemoryThresholds", // must be enabled
+ base::FEATURE_ENABLED_BY_DEFAULT); // in Bromite
const char kStrictSiteIsolationMemoryThresholdParamName[] =
"strict_site_isolation_threshold_mb";
const char kPartialSiteIsolationMemoryThresholdParamName[] =
--
2.40.1