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 b8a72c1a21aea87d309f0f49bb600d8edacc93ad..cd0cd00ef1aedfe1bd4798f5ecd47f25be2fa06d 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); |