| 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 009f47581edc800d7cc85e50172e8b06f1e4bcaf..76bb62aa6eefd5bee61b345c5b932639292d8326 100644
|
| --- a/content/shell/renderer/layout_test/blink_test_runner.cc
|
| +++ b/content/shell/renderer/layout_test/blink_test_runner.cc
|
| @@ -794,7 +794,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(
|
|
|