Index: third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h |
index 9260b0ac7e5a54f9f1480d299f9b57c83951c083..c2d9e547bb5ef4c92663b059f85594289ba66dfd 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h |
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h |
@@ -7,6 +7,7 @@ |
#include "core/CoreExport.h" |
#include "core/layout/ng/inline/ng_inline_item_result.h" |
+#include "core/layout/ng/inline/ng_inline_node.h" |
#include "platform/heap/Handle.h" |
#include "platform/text/TextBreakIterator.h" |
#include "platform/wtf/Allocator.h" |
@@ -25,7 +26,7 @@ class NGInlineLayoutAlgorithm; |
// so that NGInlineLayoutAlgorithm can build a line box from the output. |
class CORE_EXPORT NGLineBreaker { |
public: |
- NGLineBreaker(NGInlineNode*, |
+ NGLineBreaker(NGInlineNode, |
const NGConstraintSpace*, |
NGInlineBreakToken* = nullptr); |
~NGLineBreaker() {} |
@@ -78,7 +79,7 @@ class CORE_EXPORT NGLineBreaker { |
void MoveToNextOf(const NGInlineItemResult&); |
void SkipCollapsibleWhitespaces(); |
- Persistent<NGInlineNode> node_; |
+ NGInlineNode node_; |
const NGConstraintSpace* constraint_space_; |
const AtomicString locale_; |
unsigned item_index_; |