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

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

Issue 1169193003: [SP] Enable Slimming Paint by default in Chromium and Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge changes. Created 5 years, 6 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
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 5c5fae5f41785d51bfe5aa8df680c1084fdaef8a..c6ed0c3ef6ff85dfddc9f87f5d7318410b7deee9 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -237,6 +237,10 @@ const char kDisableSetuidSandbox[] = "disable-setuid-sandbox";
// Disable shared workers.
const char kDisableSharedWorkers[] = "disable-shared-workers";
+// Disables slimming paint: http://www.chromium.org/blink/slimming-paint
+// Can be overridden by kEnableSlimmingPaint.
+const char kDisableSlimmingPaint[] = "disable-slimming-paint";
+
// Disable smooth scrolling for testing.
const char kDisableSmoothScrolling[] = "disable-smooth-scrolling";
@@ -417,6 +421,7 @@ const char kEnableSeccompFilterSandbox[] =
const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking";
// Enables slimming paint: http://www.chromium.org/blink/slimming-paint
+// Overrides kDisableSlimmingPaint if both are present.
const char kEnableSlimmingPaint[] = "enable-slimming-paint";
// On platforms that support it, enables smooth scroll animation.

Powered by Google App Engine
This is Rietveld 408576698