| 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 8a359b3bce1ee40eea0e2e118d2aee04b5c709e0..9f88d9474a016c56b2d541cfbb3b670301db21e6 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
|
| @@ -201,7 +201,7 @@ NGBlockLayoutAlgorithm::ComputeMinAndMaxContentSizes(
|
| LayoutUnit();
|
| // Size-contained elements don't consider their contents for intrinsic
|
| // sizing.
|
| - if (style_->containsSize())
|
| + if (Style().containsSize())
|
| return kSuccess;
|
| current_minmax_child_ = first_child_;
|
| compute_minmax_state_ = kStateChildLayout;
|
| @@ -316,7 +316,8 @@ NGLayoutStatus NGBlockLayoutAlgorithm::Layout(
|
| builder_->SetBlockSize(block_size);
|
|
|
| // Out of flow setup.
|
| - out_of_flow_layout_ = new NGOutOfFlowLayoutPart(style_, builder_->Size());
|
| + out_of_flow_layout_ =
|
| + new NGOutOfFlowLayoutPart(&Style(), builder_->Size());
|
| builder_->GetAndClearOutOfFlowDescendantCandidates(
|
| &out_of_flow_candidates_, &out_of_flow_candidate_positions_);
|
| out_of_flow_candidate_positions_index_ = 0;
|
|
|