Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1856)

Unified Diff: content/public/common/content_features.cc

Issue 2692313003: Enable Purge+throttle by default except Android and MacOS. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 3c53154fbb617fadd462716e2253118d358fbed4..debefe332832f97e5276f7b1cb40e56541f171f9 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -151,8 +151,14 @@ const base::Feature kPointerEvents{"PointerEvent",
base::FEATURE_ENABLED_BY_DEFAULT};
// Enables purge and suspend.
-const base::Feature kPurgeAndSuspend{"PurgeAndSuspend",
- base::FEATURE_DISABLED_BY_DEFAULT};
+const base::Feature kPurgeAndSuspend {
+ "PurgeAndSuspend",
+#if defined(OS_MACOSX) || defined(OS_ANDROID)
Wez 2017/03/29 23:50:55 Is there a bug with context on why we don't enable
tasak 2017/03/30 09:26:12 Added. So this comment looks ok?
+ base::FEATURE_DISABLED_BY_DEFAULT
+#else
+ base::FEATURE_ENABLED_BY_DEFAULT
+#endif
+};
// RAF aligned mouse input events support.
const base::Feature kRafAlignedMouseInputEvents{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698