Chromium Code Reviews| 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 ef60bc02b456ddfa509bb68993b142dc7bc4d872..b50de2868083b02df4cf966c07bf607c736a2129 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 |
| @@ -5,12 +5,11 @@ |
| #ifndef NGBlockLayoutAlgorithm_h |
| #define NGBlockLayoutAlgorithm_h |
| +#include "core/layout/ng/ng_box.h" |
| #include "wtf/RefPtr.h" |
|
Gleb Lanbin
2016/08/10 15:35:32
we don't need it anymore.
ikilpatrick
2016/08/10 16:20:29
Acknowledged.
|
| namespace blink { |
| -class ComputedStyle; |
| -class LayoutBox; |
| class NGConstraintSpace; |
| class NGFragment; |
| @@ -18,7 +17,7 @@ class NGFragment; |
| // Lays out the children in sequence. |
| class NGBlockLayoutAlgorithm { |
| public: |
| - NGBlockLayoutAlgorithm(const ComputedStyle*); |
| + NGBlockLayoutAlgorithm(NGBox); |
| // Actual layout implementation. Lays out the children in sequence within the |
| // constraints given by the NGConstraintSpace. Returns a fragment with the |
| @@ -28,7 +27,7 @@ class NGBlockLayoutAlgorithm { |
| NGFragment* layout(const NGConstraintSpace&); |
| private: |
| - RefPtr<const ComputedStyle> m_style; |
| + NGBox m_box; |
| }; |
| } // namespace blink |