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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutGrid.h

Issue 2589143002: [css-grid] Isolate intrinsic size computation from layout (Closed)
Patch Set: Patch for landing Created 4 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/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;

Powered by Google App Engine
This is Rietveld 408576698