Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc |
index 8e34465b52626d105dfc7e577b6cc4b4f5f5bae3..b6a34a9ca9cd84066baae63b93693535d971a493 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc |
@@ -78,7 +78,8 @@ NGInlineLayoutAlgorithm::NGInlineLayoutAlgorithm( |
Initialize(0, 0); |
// BFC offset is known for inline fragments. |
- container_builder_.SetBfcOffset(space->BfcOffset()); |
+ MaybeUpdateFragmentBfcOffset(ConstraintSpace(), ConstraintSpace().BfcOffset(), |
+ &container_builder_); |
} |
bool NGInlineLayoutAlgorithm::IsFirstLine() const { |