| Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
| index f3f18ebd7de480d05358a669fbacf3f222283fe3..fe1a12880c9c4793ea7c785df7f33b1274dff65b 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h
|
| @@ -9,12 +9,12 @@
|
| #include "core/layout/ng/ng_constraint_space.h"
|
| #include "core/layout/ng/ng_floating_object.h"
|
| #include "core/layout/ng/ng_physical_fragment.h"
|
| +#include "core/layout/ng/ng_physical_text_fragment.h"
|
| #include "wtf/Allocator.h"
|
|
|
| namespace blink {
|
|
|
| class NGLayoutResult;
|
| -class NGPhysicalTextFragment;
|
|
|
| class CORE_EXPORT NGFragmentBuilder final {
|
| DISALLOW_NEW();
|
| @@ -103,6 +103,10 @@ class CORE_EXPORT NGFragmentBuilder final {
|
| unsigned start_offset,
|
| unsigned end_offset);
|
|
|
| + Vector<RefPtr<NGPhysicalFragment>>& MutableChildren() { return children_; }
|
| +
|
| + Vector<NGLogicalOffset>& MutableOffsets() { return offsets_; }
|
| +
|
| // Mutable list of floats that need to be positioned.
|
| Vector<RefPtr<NGFloatingObject>>& MutableUnpositionedFloats() {
|
| return unpositioned_floats_;
|
| @@ -117,6 +121,10 @@ class CORE_EXPORT NGFragmentBuilder final {
|
| return bfc_offset_;
|
| }
|
|
|
| + const Vector<RefPtr<NGPhysicalFragment>>& Children() const {
|
| + return children_;
|
| + }
|
| +
|
| bool DidBreak() const { return did_break_; }
|
|
|
| private:
|
|
|