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 3f98bef5e96caef1e259ee6dc6d577f76b4b2ff6..2a92f89933cf66eba02ed6ac5886661412114489 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 |
@@ -66,7 +66,7 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm { |
// @param space Constraint space for the block. |
// @return Position of the fragment in the parent's constraint space. |
NGLogicalOffset PositionFragment(const NGFragment& fragment, |
- NGBoxStrut child_margins, |
+ const NGBoxStrut& child_margins, |
const NGConstraintSpace& space); |
// Calculates position of the float fragment that needs to be |
@@ -76,7 +76,7 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm { |
// @param margins Margins information for the fragment. |
// @return Position of the fragment in the parent's constraint space. |
NGLogicalOffset PositionFloatFragment(const NGFragment& fragment, |
- NGBoxStrut margins); |
+ const NGBoxStrut& margins); |
// Updates block-{start|end} of the currently constructed fragment. |
// |