| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index 759bc27278264e8e7bfed81eab7b2539a463d47f..cfdcbdfa9084dfcdbc36cb2ad9d0b5cbb057cb7d 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -591,8 +591,7 @@ void LocalFrame::setPrinting(bool printing,
|
| if (LayoutView* layoutView = view()->layoutView()) {
|
| layoutView->setPreferredLogicalWidthsDirty();
|
| layoutView->setNeedsLayout(LayoutInvalidationReason::PrintingChanged);
|
| - if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| - layoutView->setShouldDoFullPaintInvalidationForViewAndAllDescendants();
|
| + layoutView->setShouldDoFullPaintInvalidationForViewAndAllDescendants();
|
| }
|
| view()->layout();
|
| view()->adjustViewSize();
|
| @@ -606,7 +605,7 @@ void LocalFrame::setPrinting(bool printing,
|
| }
|
|
|
| if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled())
|
| - view()->setShouldInvalidateAllPaintAndPaintProperties();
|
| + view()->layoutView()->setSubtreeNeedsPaintPropertyUpdate();
|
|
|
| if (!printing)
|
| document()->setPrinting(Document::NotPrinting);
|
|
|