Index: third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc |
index cdbda4f8f9b31aa7af56a8caea097b953d76ea57..06d90c473d87020c5aef42f0d8c3707752c46b22 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc |
@@ -75,7 +75,7 @@ void NGOutOfFlowLayoutPart::Run() { |
out_of_flow_candidate_positions[position_index++]; |
if (IsContainingBlockForAbsoluteDescendant(container_style_, |
- *descendant->Style())) { |
+ descendant->Style())) { |
NGLogicalOffset offset; |
NGFragment* fragment = |
LayoutDescendant(*descendant, static_position, &offset); |
@@ -100,21 +100,21 @@ NGFragment* NGOutOfFlowLayoutPart::LayoutDescendant( |
Optional<MinAndMaxContentSizes> inline_estimate; |
Optional<LayoutUnit> block_estimate; |
- if (AbsoluteNeedsChildInlineSize(*descendant.Style())) { |
+ if (AbsoluteNeedsChildInlineSize(descendant.Style())) { |
inline_estimate = descendant.ComputeMinAndMaxContentSizes(); |
} |
NGAbsolutePhysicalPosition node_position = |
ComputePartialAbsoluteWithChildInlineSize( |
- *container_space_, *descendant.Style(), static_position, |
+ *container_space_, descendant.Style(), static_position, |
inline_estimate); |
- if (AbsoluteNeedsChildBlockSize(*descendant.Style())) { |
+ if (AbsoluteNeedsChildBlockSize(descendant.Style())) { |
fragment = GenerateFragment(descendant, block_estimate, node_position); |
block_estimate = fragment->BlockSize(); |
} |
- ComputeFullAbsoluteWithChildBlockSize(*container_space_, *descendant.Style(), |
+ ComputeFullAbsoluteWithChildBlockSize(*container_space_, descendant.Style(), |
static_position, block_estimate, |
&node_position); |