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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2675763006: Fix paint invalidation issue on exiting printing (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/WebKit/ManualTests/print-iframe-containing-fixed.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ed80174bbefef2aa40157bd26095c747939708cf..fb697363c0f9c3be669c3b177d5b64083c375d4d 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -590,8 +590,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();
« no previous file with comments | « third_party/WebKit/ManualTests/print-iframe-containing-fixed.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698