Index: third_party/WebKit/Source/core/layout/LayoutGrid.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.h b/third_party/WebKit/Source/core/layout/LayoutGrid.h |
index efdf62996639074f48e06bfe6fc982719016485c..fe0cfc05b9b1329cf175f7f37e8b22d987597b34 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h |
@@ -74,6 +74,11 @@ public: |
LayoutUnit guttersSize(GridTrackSizingDirection, size_t span) const; |
+ LayoutUnit offsetBetweenTracks(GridTrackSizingDirection direction) const |
+ { |
+ return direction == ForColumns ? m_offsetBetweenColumns : m_offsetBetweenRows; |
+ } |
+ |
typedef Vector<LayoutBox*, 1> GridCell; |
const GridCell& gridCell(int row, int column) const |
{ |