Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
index 85ca28ce849db089c745d5f63b19b0281c3152c7..b8880d76f70c8ab55b8183b324183ab121797963 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
@@ -80,6 +80,10 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm { |
// keeps updating block-end (on every non-zero height child). |
void UpdateMarginStrut(const NGMarginStrut& from); |
+ NGLogicalOffset GetChildSpaceOffset() const { |
+ return NGLogicalOffset(border_and_padding_.inline_start, content_size_); |
+ } |
+ |
// Read-only Getters. |
const ComputedStyle& CurrentChildStyle() const { |
DCHECK(current_child_); |