| Index: third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
|
| index 9c25b24660c515ad6fc3fa4562aa5892f717d2ba..5d91ecac23783cfb6029606126cb412288d0fae7 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc
|
| @@ -8,6 +8,7 @@
|
| #include "core/layout/ng/ng_constraint_space.h"
|
| #include "core/layout/ng/ng_fragment.h"
|
| #include "core/layout/ng/ng_layout_result.h"
|
| +#include "core/paint/NGBlockFlowPainter.h"
|
|
|
| namespace blink {
|
|
|
| @@ -62,4 +63,14 @@ void LayoutNGBlockFlow::ResetNGInlineNodeData() {
|
| ng_inline_node_data_ = WTF::MakeUnique<NGInlineNodeData>();
|
| }
|
|
|
| +void LayoutNGBlockFlow::PaintObject(const PaintInfo& paint_info,
|
| + const LayoutPoint& paint_offset) const {
|
| + // TODO(eae): This is incorrect but it'll do for now.
|
| + if (root_fragment_) {
|
| + NGBlockFlowPainter(*this).PaintContents(paint_info, paint_offset);
|
| + } else {
|
| + LayoutBlockFlow::PaintObject(paint_info, paint_offset);
|
| + }
|
| +}
|
| +
|
| } // namespace blink
|
|
|