| 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 e7718f2a470ca3f212fe0c9a5c4a4e817da61843..0a8574b6e76e3da7845f7b5bfb503f5207fbecdb 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
|
| @@ -5,13 +5,15 @@
|
| #ifndef LayoutNGBlockFlow_h
|
| #define LayoutNGBlockFlow_h
|
|
|
| +#include "core/CoreExport.h"
|
| #include "core/layout/LayoutBlockFlow.h"
|
| +#include "core/layout/ng/inline/ng_inline_node_data.h"
|
| #include "core/layout/ng/ng_block_node.h"
|
|
|
| namespace blink {
|
|
|
| // This overrides the default layout block algorithm to use Layout NG.
|
| -class LayoutNGBlockFlow final : public LayoutBlockFlow {
|
| +class CORE_EXPORT LayoutNGBlockFlow final : public LayoutBlockFlow {
|
| public:
|
| explicit LayoutNGBlockFlow(Element*);
|
| ~LayoutNGBlockFlow() override = default;
|
| @@ -19,9 +21,13 @@ class LayoutNGBlockFlow final : public LayoutBlockFlow {
|
| void UpdateBlockLayout(bool relayout_children) override;
|
| NGBlockNode* BoxForTesting() const { return box_.Get(); }
|
|
|
| + NGInlineNodeData& GetNGInlineNodeData() const;
|
| + void ResetNGInlineNodeData();
|
| +
|
| private:
|
| bool IsOfType(LayoutObjectType) const override;
|
|
|
| + std::unique_ptr<NGInlineNodeData> ng_inline_node_data_;
|
| Persistent<NGBlockNode> box_;
|
| };
|
|
|
|
|