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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_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_block_break_token.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h b/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
index 8474b772765e1054e181bd3da080083572cba627..9e3a17b8461e2bf2ca1c2cea73b60f4b38c8a2f6 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h
@@ -25,7 +25,7 @@ class CORE_EXPORT NGBlockBreakToken : public NGBreakToken {
// The node is NGBlockNode, or any other NGLayoutInputNode that produces
// anonymous box.
static RefPtr<NGBlockBreakToken> Create(
- NGLayoutInputNode* node,
+ NGLayoutInputNode node,
LayoutUnit used_block_size,
Vector<RefPtr<NGBreakToken>>& child_break_tokens) {
return AdoptRef(
@@ -33,7 +33,7 @@ class CORE_EXPORT NGBlockBreakToken : public NGBreakToken {
}
// Creates a break token for a node which cannot produce any more fragments.
- static RefPtr<NGBlockBreakToken> Create(NGLayoutInputNode* node) {
+ static RefPtr<NGBlockBreakToken> Create(NGLayoutInputNode node) {
return AdoptRef(new NGBlockBreakToken(node));
}
@@ -57,11 +57,11 @@ class CORE_EXPORT NGBlockBreakToken : public NGBreakToken {
}
private:
- NGBlockBreakToken(NGLayoutInputNode* node,
+ NGBlockBreakToken(NGLayoutInputNode node,
LayoutUnit used_block_size,
Vector<RefPtr<NGBreakToken>>& child_break_tokens);
- explicit NGBlockBreakToken(NGLayoutInputNode* node);
+ explicit NGBlockBreakToken(NGLayoutInputNode node);
LayoutUnit used_block_size_;
Vector<RefPtr<NGBreakToken>> child_break_tokens_;

Powered by Google App Engine
This is Rietveld 408576698