Enable-SPPI-for-devices-with-enough-memory.patch 1.5 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. ---
  5. chrome/common/chrome_features.cc | 4 ----
  6. components/site_isolation/features.cc | 2 +-
  7. 2 files changed, 1 insertion(+), 5 deletions(-)
  8. diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
  9. --- a/chrome/common/chrome_features.cc
  10. +++ b/chrome/common/chrome_features.cc
  11. @@ -922,11 +922,7 @@ const base::Feature kShow10_10ObsoleteInfobar{
  12. // browser_features, as they are only used on the browser side.
  13. const base::Feature kSitePerProcess {
  14. "SitePerProcess",
  15. -#if defined(OS_ANDROID)
  16. - base::FEATURE_DISABLED_BY_DEFAULT
  17. -#else
  18. base::FEATURE_ENABLED_BY_DEFAULT
  19. -#endif
  20. };
  21. #if BUILDFLAG(IS_CHROMEOS_ASH)
  22. diff --git a/components/site_isolation/features.cc b/components/site_isolation/features.cc
  23. --- a/components/site_isolation/features.cc
  24. +++ b/components/site_isolation/features.cc
  25. @@ -60,7 +60,7 @@ const base::Feature kSiteIsolationForOAuthSites{
  26. // kSitePerProcess won't be checked at all, and field trials won't activate
  27. // either the control or the experiment group.
  28. const base::Feature kSiteIsolationMemoryThresholds{
  29. - "SiteIsolationMemoryThresholds", base::FEATURE_DISABLED_BY_DEFAULT};
  30. + "SiteIsolationMemoryThresholds", base::FEATURE_ENABLED_BY_DEFAULT};
  31. const char kStrictSiteIsolationMemoryThresholdParamName[] =
  32. "strict_site_isolation_threshold_mb";
  33. const char kPartialSiteIsolationMemoryThresholdParamName[] =
  34. --
  35. 2.20.1