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

Unified Diff: Source/core/layout/LayoutView.h

Issue 1209033002: SP: Invalidate paint for the entire layout tree when ending printing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/layout/LayoutView.h
diff --git a/Source/core/layout/LayoutView.h b/Source/core/layout/LayoutView.h
index fc6656e6e09877266402fb9992f7b8bdbde60808..13c482ca360704b5011a7d9b7375621f3f6f1e59 100644
--- a/Source/core/layout/LayoutView.h
+++ b/Source/core/layout/LayoutView.h
@@ -183,6 +183,11 @@ public:
virtual LayoutRect visualOverflowRect() const override;
+ // Invalidates paint for the entire view, including composited descendants, but not including child frames.
+ // It is very likely you do not want to call this method, and want
+ // setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants() instead.
+ void setShouldDoFullPaintInvalidationForViewAndAllDescendants();
+
private:
virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = nullptr, const PaintInvalidationState* = nullptr) const override;

Powered by Google App Engine
This is Rietveld 408576698