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

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

Issue 1529083006: [css-grid] Initial support for implicit grid before explicit grid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply suggested changes Created 5 years 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 d25a196f5b6350d698b31281d6bb904b48cfa1f0..8ff75d860a2bf10147ddf2b68f2b84910df24d3c 100644
--- a/third_party/WebKit/Source/core/paint/GridPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/GridPainter.cpp
@@ -25,7 +25,7 @@ static GridSpan dirtiedGridAreas(const Vector<LayoutUnit>& coordinates, LayoutUn
--endGridAreaIndex;
// GridSpan stores lines' indexes (not tracks' indexes).
- return GridSpan::definiteGridSpan(startGridAreaIndex, endGridAreaIndex + 1);
+ return GridSpan::translatedDefiniteGridSpan(startGridAreaIndex, endGridAreaIndex + 1);
}
class GridItemsSorter {

Powered by Google App Engine
This is Rietveld 408576698