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 5c8f626b1c38031b2640dc2ce8c731b71121f871..5b6ddd6fcc41f2521efc2f1e44369173c52a4962 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h |
@@ -94,6 +94,11 @@ class LayoutGrid final : public LayoutBlock { |
LayoutUnit translateRTLCoordinate(LayoutUnit) const; |
+ protected: |
+ ItemPosition selfAlignmentNormalBehavior() const override { |
+ return ItemPositionStretch; |
+ } |
+ |
private: |
bool isOfType(LayoutObjectType type) const override { |
return type == LayoutObjectLayoutGrid || LayoutBlock::isOfType(type); |