| Index: third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_size.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_size.h b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_size.h
|
| index 448cd9d0bd9c0eef3ef6b236fcd4f549882fd807..af0e5e987a8a685d462a02ea32f398548ed99da3 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_size.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_size.h
|
| @@ -6,6 +6,7 @@
|
| #define NGLogicalSize_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "core/layout/ng/geometry/ng_box_strut.h"
|
| #include "core/layout/ng/ng_writing_mode.h"
|
| #include "platform/LayoutUnit.h"
|
|
|
| @@ -32,6 +33,12 @@ struct CORE_EXPORT NGLogicalSize {
|
| }
|
| };
|
|
|
| +inline NGLogicalSize& operator-=(NGLogicalSize& a, const NGBoxStrut& b) {
|
| + a.inline_size -= b.InlineSum();
|
| + a.block_size -= b.BlockSum();
|
| + return a;
|
| +}
|
| +
|
| CORE_EXPORT std::ostream& operator<<(std::ostream&, const NGLogicalSize&);
|
|
|
| } // namespace blink
|
|
|