Index: third_party/WebKit/Source/core/layout/ng/ng_length_utils.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h |
index 3a1e333f88ccc89dd72a2ca86be8cf46cdb6380d..14028fd4063d08428ce624914a1cce1fa8da40cd 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h |
@@ -121,6 +121,10 @@ CORE_EXPORT void ApplyAutoMargins(const NGConstraintSpace&, |
const NGFragment&, |
NGBoxStrut* margins); |
+CORE_EXPORT LayoutUnit ConstrainByMinMax(LayoutUnit length, |
+ Optional<LayoutUnit> min, |
+ Optional<LayoutUnit> max); |
+ |
} // namespace blink |
#endif // NGLengthUtils_h |