| Index: third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h b/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h
|
| index 2e14309b431cedbb9662bba3d15ca1ee25420f5b..fe6bf1f845f8fe34102e13d36a4196f43f52df3f 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/geometry/ng_box_strut.h
|
| @@ -6,6 +6,7 @@
|
| #define NGBoxStrut_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "core/layout/ng/geometry/ng_logical_offset.h"
|
| #include "core/layout/ng/ng_writing_mode.h"
|
| #include "platform/LayoutUnit.h"
|
| #include "platform/text/TextDirection.h"
|
| @@ -28,6 +29,10 @@ struct CORE_EXPORT NGBoxStrut {
|
| LayoutUnit InlineSum() const { return inline_start + inline_end; }
|
| LayoutUnit BlockSum() const { return block_start + block_end; }
|
|
|
| + NGLogicalOffset InlineBlockStartOffset() {
|
| + return {inline_start, block_start};
|
| + }
|
| +
|
| bool IsEmpty() const;
|
|
|
| // The following two operators exist primarily to have an easy way to access
|
|
|