Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h

Issue 2921463004: [LayoutNG] PODify NGLayoutInputNode and sub-classes. (Closed)
Patch Set: new ng-bot expectations Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698