Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
index ba6d02ee6400d7caba488e7cdcf79c1e125738d1..b66e1967aa737344d900025f1c0fcd08555507e9 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
@@ -29,6 +29,7 @@ NGFragment* NGBlockLayoutAlgorithm::layout( |
NGFragment* fragment = box.layout(constraintSpace); |
// TODO(layout-ng): Take margins into account |
fragment->setOffset(LayoutUnit(), contentSize); |
+ box.positionUpdated(*fragment); |
contentSize += fragment->blockSize(); |
childFragments.append(fragment); |
} |