39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
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
|
|
|
|
---
|
|
chrome/common/chrome_features.cc | 4 ----
|
|
components/site_isolation/features.cc | 2 +-
|
|
2 files changed, 1 insertion(+), 5 deletions(-)
|
|
|
|
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
|
|
--- a/chrome/common/chrome_features.cc
|
|
+++ b/chrome/common/chrome_features.cc
|
|
@@ -752,11 +752,7 @@ const base::Feature kShow10_10ObsoleteInfobar{
|
|
// browser_features, as they are only used on the browser side.
|
|
const base::Feature kSitePerProcess {
|
|
"site-per-process",
|
|
-#if defined(OS_ANDROID)
|
|
- base::FEATURE_DISABLED_BY_DEFAULT
|
|
-#else
|
|
base::FEATURE_ENABLED_BY_DEFAULT
|
|
-#endif
|
|
};
|
|
|
|
#if defined(OS_CHROMEOS)
|
|
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
|
|
@@ -36,7 +36,7 @@ const base::Feature kSiteIsolationForPasswordSites {
|
|
// base::SysInfo::AmountOfPhysicalMemoryMB().
|
|
const base::Feature kSitePerProcessOnlyForHighMemoryClients{
|
|
"site-per-process-only-for-high-memory-clients",
|
|
- base::FEATURE_DISABLED_BY_DEFAULT};
|
|
+ base::FEATURE_ENABLED_BY_DEFAULT};
|
|
const char kSitePerProcessOnlyForHighMemoryClientsParamName[] =
|
|
"site-per-process-low-memory-cutoff-mb";
|
|
|
|
--
|
|
2.17.1
|
|
|