| Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| index 64c4f599a099b172c113e1301f8cda3f02f0f1d7..c94e678a523849c0e08fb6d775de102b138b4fb9 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| @@ -392,7 +392,8 @@ void PaintInvalidator::invalidatePaintIfNeeded(
|
|
|
| updatePaintingLayer(object, context);
|
|
|
| - if (object.document().printing())
|
| + if (object.document().printing() &&
|
| + !RuntimeEnabledFeatures::printBrowserEnabled())
|
| return; // Don't invalidate paints if we're printing.
|
|
|
| TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("blink.invalidation"),
|
|
|