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 c81451e7da889547e463864340b1bcc5fb107241..862957a6852a33e3cd9907e71ee7e07bca49bbcf 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 InlineStartBlockStartOffset() const { |
+ return {InlineStartOffset(), BlockStartOffset()}; |
+ } |
+ |
NGLogicalOffset InlineEndBlockStartOffset() const { |
return {InlineEndOffset(), BlockStartOffset()}; |
} |