| 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 0f92ad1b29a26372479cc7c0bbe29d4435ac6866..54ffa527cac658d8e4e70ebb551709f972f63856 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,6 +7,7 @@
|
|
|
| #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"
|
|
|
| @@ -20,7 +21,10 @@ class NGFragment;
|
| // Lays out the children in sequence.
|
| class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm {
|
| public:
|
| - NGBlockLayoutAlgorithm(PassRefPtr<const ComputedStyle>, NGBox);
|
| + // 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);
|
|
|
| // Actual layout implementation. Lays out the children in sequence within the
|
| // constraints given by the NGConstraintSpace. Returns a fragment with the
|
| @@ -31,7 +35,7 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm {
|
|
|
| private:
|
| RefPtr<const ComputedStyle> m_style;
|
| - NGBox m_firstChild;
|
| + NGBoxIterator m_boxIterator;
|
| };
|
|
|
| } // namespace blink
|
|
|