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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_break_token.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/ng_break_token.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_break_token.h b/third_party/WebKit/Source/core/layout/ng/ng_break_token.h
index 02ef0edbeba2f3d8fda4602bf2d7b9605384febd..10378bbf9c970900c37153717ebd9d494d8e9c2b 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_break_token.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_break_token.h
@@ -48,19 +48,19 @@ class CORE_EXPORT NGBreakToken : public RefCounted<NGBreakToken> {
// Returns the node associated with this break token. A break token cannot be
// used with any other node.
- NGLayoutInputNode* InputNode() const { return node_; }
+ NGLayoutInputNode InputNode() const { return node_; }
protected:
NGBreakToken(NGBreakTokenType type,
NGBreakTokenStatus status,
- NGLayoutInputNode* node)
+ NGLayoutInputNode node)
: type_(type), status_(status), node_(node) {}
private:
unsigned type_ : 1;
unsigned status_ : 1;
- Persistent<NGLayoutInputNode> node_;
+ NGLayoutInputNode node_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698