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 2a4538edaf010e6c33d6f46bf73d4eed75d62acd..b6650d654474992cf7d2ff57303466420a28d005 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 |
@@ -52,4 +52,13 @@ void LayoutNGBlockFlow::UpdateBlockLayout(bool relayout_children) { |
ClearNeedsLayout(); |
} |
+NGInlineNodeData& LayoutNGBlockFlow::GetNGInlineNodeData() const { |
+ DCHECK(ng_inline_node_data_); |
+ return *ng_inline_node_data_.get(); |
+} |
+ |
+void LayoutNGBlockFlow::ResetNGInlineNodeData() { |
+ ng_inline_node_data_ = WTF::MakeUnique<NGInlineNodeData>(); |
+} |
+ |
} // namespace blink |