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 d98408718ac0a200f1c3398fca4b39147e140db7..d491a58eea490dda7508fbf8a25957f1c3546162 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h |
@@ -149,7 +149,7 @@ class LayoutGrid final : public LayoutBlock { |
Grid&, |
GridTrackSizingDirection) const; |
- void placeItemsOnGrid(Grid&, SizingOperation); |
+ void placeItemsOnGrid(Grid&, SizingOperation) const; |
void populateExplicitGridAndOrderIterator(Grid&) const; |
std::unique_ptr<GridArea> createEmptyGridAreaAtSpecifiedPositionsOutsideGrid( |
const Grid&, |
@@ -351,7 +351,7 @@ class LayoutGrid final : public LayoutBlock { |
typedef Vector<Vector<GridCell>> GridAsMatrix; |
class Grid final { |
public: |
- Grid(LayoutGrid* grid) : m_orderIterator(grid) {} |
+ Grid(const LayoutGrid* grid) : m_orderIterator(grid) {} |
size_t numTracks(GridTrackSizingDirection) const; |