Index: third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h |
index 81260737f705be3a3033d3f8f3dd0ee42e550701..428c939906d5cee4a9c48e7ffd9501f7e54badf3 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h |
+++ b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h |
@@ -9,6 +9,7 @@ |
#include "core/layout/LayoutBlockFlow.h" |
#include "core/layout/ng/inline/ng_inline_node_data.h" |
#include "core/layout/ng/ng_block_node.h" |
+#include "core/layout/ng/ng_physical_fragment.h" |
namespace blink { |
@@ -26,11 +27,18 @@ class CORE_EXPORT LayoutNGBlockFlow final : public LayoutBlockFlow { |
NGInlineNodeData& GetNGInlineNodeData() const; |
void ResetNGInlineNodeData(); |
+ void PaintObject(const PaintInfo&, const LayoutPoint&) const override; |
+ |
+ NGPhysicalFragment* RootFragment() const { return root_fragment_.Get(); } |
+ |
private: |
bool IsOfType(LayoutObjectType) const override; |
std::unique_ptr<NGInlineNodeData> ng_inline_node_data_; |
Persistent<NGBlockNode> box_; |
+ |
+ public: // TODO(eae): |
+ RefPtr<NGPhysicalFragment> root_fragment_; |
}; |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutNGBlockFlow, IsLayoutNGBlockFlow()); |