| 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 ed2b80926039a6c6ba765fe64a7d8a47251c575e..84d80b814f27536fced40af0d2dd8768944ecc89 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutGrid.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutGrid.h
|
| @@ -96,6 +96,13 @@ class LayoutGrid final : public LayoutBlock {
|
| bool cachedHasDefiniteLogicalHeight() const;
|
| bool isOrthogonalChild(const LayoutBox&) const;
|
|
|
| + protected:
|
| + ItemPosition selfAlignmentNormalBehavior(
|
| + const LayoutBox* child = nullptr) const override {
|
| + DCHECK(child);
|
| + return child->isLayoutReplaced() ? ItemPositionStart : ItemPositionStretch;
|
| + }
|
| +
|
| private:
|
| bool isOfType(LayoutObjectType type) const override {
|
| return type == LayoutObjectLayoutGrid || LayoutBlock::isOfType(type);
|
|
|