Chromium Code Reviews| 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); |
|
jfernandez
2017/03/01 22:58:53
I'm not sure about this DCHECK; I couldn't say it'
Manuel Rego
2017/03/01 23:23:30
At this moment we shouldn't pass any child to them
|
| return ItemPositionStretch; |
| } |