Index: third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h |
index 1256793311b7bb8fae666cd3f9744660f34acedb..c81451e7da889547e463864340b1bcc5fb107241 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h |
+++ b/third_party/WebKit/Source/core/layout/ng/geometry/ng_logical_rect.h |
@@ -38,6 +38,10 @@ struct CORE_EXPORT NGLogicalRect { |
return offset.block_offset + size.block_size; |
} |
+ NGLogicalOffset InlineEndBlockStartOffset() const { |
+ return {InlineEndOffset(), BlockStartOffset()}; |
+ } |
+ |
LayoutUnit BlockSize() const { return size.block_size; } |
LayoutUnit InlineSize() const { return size.inline_size; } |