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

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

Issue 1237623010: Intersect with the dirty rect before deciding which columns to examine for collection. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | « no previous file | Source/core/layout/MultiColumnFragmentainerGroup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/MultiColumnFragmentainerGroup.h
diff --git a/Source/core/layout/MultiColumnFragmentainerGroup.h b/Source/core/layout/MultiColumnFragmentainerGroup.h
index c55994764c3d818caf258bc9eb9bd5b7fa67f5ce..8912e8328a88488613f318046a61e9732a7ffa48 100644
--- a/Source/core/layout/MultiColumnFragmentainerGroup.h
+++ b/Source/core/layout/MultiColumnFragmentainerGroup.h
@@ -99,6 +99,9 @@ private:
// not inside any of the columns.
unsigned columnIndexAtVisualPoint(const LayoutPoint& visualPoint) const;
+ // Get the first and the last column intersecting the specified visual rectangle.
+ void columnIntervalForVisualRect(const LayoutRect&, unsigned& firstColumn, unsigned& lastColumn) const;
+
LayoutMultiColumnSet& m_columnSet;
LayoutUnit m_logicalTop;
« no previous file with comments | « no previous file | Source/core/layout/MultiColumnFragmentainerGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698