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

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.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_text_fragment_builder.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.h
index c88c307e17d21d60b1f23453235cf27059ca4d69..a561f2d8346358f212a070c172b4addbf0a15c88 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.h
@@ -6,20 +6,20 @@
#define NGTextFragmentBuilder_h
#include "core/layout/ng/geometry/ng_logical_size.h"
+#include "core/layout/ng/inline/ng_inline_node.h"
#include "core/layout/ng/inline/ng_line_height_metrics.h"
#include "platform/text/TextDirection.h"
#include "platform/wtf/Allocator.h"
namespace blink {
-class NGInlineNode;
class NGPhysicalTextFragment;
class CORE_EXPORT NGTextFragmentBuilder final {
STACK_ALLOCATED();
public:
- NGTextFragmentBuilder(NGInlineNode*);
+ NGTextFragmentBuilder(NGInlineNode);
NGTextFragmentBuilder& SetDirection(TextDirection);
@@ -36,7 +36,7 @@ class CORE_EXPORT NGTextFragmentBuilder final {
private:
TextDirection direction_;
- Persistent<NGInlineNode> node_;
+ NGInlineNode node_;
NGLogicalSize size_;

Powered by Google App Engine
This is Rietveld 408576698