Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
index 0f80c7e9498b1e19096a1d7080dddfc6ee8cda7d..2207695b158634c5e9c8ca827277d6875c27452f 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -968,6 +968,8 @@ protected: |
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
void updateFromStyle() override; |
+ virtual ItemPosition selfAlignmentNormalBehavior() const { return ItemPositionStretch; } |
+ |
// Returns false if it could not cheaply compute the extent (e.g. fixed background), in which case the returned rect may be incorrect. |
// FIXME: make this a const method once the LayoutBox reference in BoxPainter is const. |
bool getBackgroundPaintedExtent(LayoutRect&) const; |
@@ -996,6 +998,8 @@ protected: |
PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState&) override; |
void invalidatePaintOfSubtreesIfNeeded(const PaintInvalidationState& childPaintInvalidationState) override; |
+ bool columnFlexItemHasStretchAlignment() const; |
+ bool isStretchingColumnFlexItem() const; |
bool hasStretchedLogicalWidth() const; |
bool hasNonCompositedScrollbars() const final; |