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

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

Issue 1174183003: [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
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21df57f58da4fff10aeff05471c8f1e02b9991b1..11e48996356e83c79a1b0d7b83a141563904071b 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -800,7 +800,9 @@ void BlinkTestRunner::CaptureDump() {
}
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableSlimmingPaint)) {
+ switches::kEnableSlimmingPaint) ||
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableSlimmingPaint)) {
// 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(
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698