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

Unified Diff: third_party/WebKit/Source/core/paint/GridPainter.cpp

Issue 1451883002: [css-grid] Store lines instead of tracks in GridResolvedPosition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/paint/GridPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/GridPainter.cpp b/third_party/WebKit/Source/core/paint/GridPainter.cpp
index 4860e06f4ea8e6a3ccf0e3faf5847d6cc8eed111..513700fbe047142e28d55304cbb4ae8f573d82b0 100644
--- a/third_party/WebKit/Source/core/paint/GridPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/GridPainter.cpp
@@ -24,7 +24,7 @@ static GridSpan dirtiedGridAreas(const Vector<LayoutUnit>& coordinates, LayoutUn
if (endGridAreaIndex > 0)
--endGridAreaIndex;
- return GridSpan(startGridAreaIndex, endGridAreaIndex);
+ return GridSpan(startGridAreaIndex, endGridAreaIndex + 1);
svillar 2015/11/17 11:37:05 I guess this deserves a comment explaining that Gr
Manuel Rego 2015/11/17 14:30:49 Done.
}
class GridItemsSorter {

Powered by Google App Engine
This is Rietveld 408576698