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 8bb840744a271fc962481aca33a32537d20fafdb..eda48c9efd564a5af8f583f2a8dbc59ba04660f5 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -1381,7 +1381,9 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject { |
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
void updateFromStyle() override; |
- virtual ItemPosition selfAlignmentNormalBehavior() const { |
+ virtual ItemPosition selfAlignmentNormalBehavior( |
+ const LayoutBox* child = nullptr) const { |
+ DCHECK(!child); |
return ItemPositionStretch; |
} |