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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h

Issue 2115013002: Include column rules for LayoutMultiColumnSet paint invalidation rects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 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: third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h b/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h
index 62b94dbc0efbf9ae006ee20eeaf645ee66023307..87df9d581bc52d1cff650b485b1cc7c08dc759b5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h
+++ b/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h
@@ -170,6 +170,12 @@ public:
const char* name() const override { return "LayoutMultiColumnSet"; }
+ // Sets |columnRuleBounds| to the bounds of each column rule rect's painted extent, adjusted by paint offset,
+ // before pixel snapping. Returns true if column rules should be painted at all.
+ bool computeColumnRuleBounds(const LayoutPoint& paintOffset, Vector<LayoutRect>& columnRuleBounds) const;
+
+ LayoutRect localOverflowRectForPaintInvalidation() const override;
+
protected:
LayoutMultiColumnSet(LayoutFlowThread*);

Powered by Google App Engine
This is Rietveld 408576698