Enable-SPPI-for-devices-with-enough-memory.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From: csagan5 <32685696+csagan5@users.noreply.github.com>
  2. Date: Sun, 17 Mar 2019 19:09:00 +0100
  3. Subject: Enable SPPI for devices with enough memory
  4. License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
  5. ---
  6. chrome/common/chrome_features.cc | 4 ----
  7. components/site_isolation/features.cc | 2 +-
  8. 2 files changed, 1 insertion(+), 5 deletions(-)
  9. diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
  10. --- a/chrome/common/chrome_features.cc
  11. +++ b/chrome/common/chrome_features.cc
  12. @@ -909,11 +909,7 @@ const base::Feature kSharesheetCopyToClipboard{
  13. // browser_features, as they are only used on the browser side.
  14. const base::Feature kSitePerProcess {
  15. "SitePerProcess",
  16. -#if BUILDFLAG(IS_ANDROID)
  17. - base::FEATURE_DISABLED_BY_DEFAULT
  18. -#else
  19. base::FEATURE_ENABLED_BY_DEFAULT
  20. -#endif
  21. };
  22. #if BUILDFLAG(IS_CHROMEOS_ASH)
  23. diff --git a/components/site_isolation/features.cc b/components/site_isolation/features.cc
  24. --- a/components/site_isolation/features.cc
  25. +++ b/components/site_isolation/features.cc
  26. @@ -60,7 +60,7 @@ const base::Feature kSiteIsolationForOAuthSites{
  27. // kSitePerProcess won't be checked at all, and field trials won't activate
  28. // either the control or the experiment group.
  29. const base::Feature kSiteIsolationMemoryThresholds{
  30. - "SiteIsolationMemoryThresholds", base::FEATURE_DISABLED_BY_DEFAULT};
  31. + "SiteIsolationMemoryThresholds", base::FEATURE_ENABLED_BY_DEFAULT};
  32. const char kStrictSiteIsolationMemoryThresholdParamName[] =
  33. "strict_site_isolation_threshold_mb";
  34. const char kPartialSiteIsolationMemoryThresholdParamName[] =
  35. --
  36. 2.25.1