Index: third_party/WebKit/Source/core/layout/ng/ng_units.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_units.cc b/third_party/WebKit/Source/core/layout/ng/ng_units.cc |
index 9eeb013444c07937f2cb49f21cd1344e1119a173..98733335736830d87a2fd472b1c85d3b8c2a6f0c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_units.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_units.cc |
@@ -9,6 +9,7 @@ |
namespace blink { |
LayoutUnit MinAndMaxContentSizes::ShrinkToFit(LayoutUnit available_size) const { |
+ DCHECK_GE(max_content, min_content); |
return std::min(max_content, std::max(min_content, available_size)); |
} |