| 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 54ffa527cac658d8e4e70ebb551709f972f63856..0f92ad1b29a26372479cc7c0bbe29d4435ac6866 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
|
| @@ -7,7 +7,6 @@
|
|
|
| #include "core/CoreExport.h"
|
| #include "core/layout/ng/ng_box.h"
|
| -#include "core/layout/ng/ng_box_iterator.h"
|
| #include "core/layout/ng/ng_layout_algorithm.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| @@ -21,10 +20,7 @@
|
| // Lays out the children in sequence.
|
| class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm {
|
| public:
|
| - // Default constructor.
|
| - // @param style Style reference of the block that is being laid out.
|
| - // @param boxIterator Iterator for the block's children.
|
| - NGBlockLayoutAlgorithm(PassRefPtr<const ComputedStyle>, NGBoxIterator);
|
| + NGBlockLayoutAlgorithm(PassRefPtr<const ComputedStyle>, NGBox);
|
|
|
| // Actual layout implementation. Lays out the children in sequence within the
|
| // constraints given by the NGConstraintSpace. Returns a fragment with the
|
| @@ -35,7 +31,7 @@
|
|
|
| private:
|
| RefPtr<const ComputedStyle> m_style;
|
| - NGBoxIterator m_boxIterator;
|
| + NGBox m_firstChild;
|
| };
|
|
|
| } // namespace blink
|
|
|