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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1186623003: [SP] Turn off slimming paint by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index e36382c71b2dfd0fe92eb7c0052fca3bee37e6a7..ebba1156ae0383f3dde3da1a26788584a4c5b199 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -797,9 +797,7 @@ void BlinkTestRunner::CaptureDump() {
}
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableSlimmingPaint) ||
- !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableSlimmingPaint)) {
+ switches::kEnableSlimmingPaint)) {
// Force a layout/paint by the end of the test to ensure test coverage of
// incremental painting in slimming paint mode.
proxy()->LayoutAndPaintAsyncThen(base::Bind(

Powered by Google App Engine
This is Rietveld 408576698