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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.cc

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_child_iterator.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.cc
index ad4328c15504223b00a07c0674bcae1dc8774094..721c4dd16e228b8887b4ace81489d537e3b85665 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.cc
@@ -9,7 +9,7 @@
namespace blink {
-NGBlockChildIterator::NGBlockChildIterator(NGLayoutInputNode* first_child,
+NGBlockChildIterator::NGBlockChildIterator(NGLayoutInputNode first_child,
NGBlockBreakToken* break_token)
: child_(first_child), break_token_(break_token), child_token_idx_(0) {}
@@ -45,12 +45,12 @@ NGBlockChildIterator::Entry NGBlockChildIterator::NextChild() {
child_break_token = child_break_token_candidate;
break;
}
- } while ((child_ = child_->NextSibling()));
+ } while ((child_ = child_.NextSibling()));
}
- NGLayoutInputNode* child = child_;
+ NGLayoutInputNode child = child_;
if (child_)
- child_ = child_->NextSibling();
+ child_ = child_.NextSibling();
return Entry(child, child_break_token);
}

Powered by Google App Engine
This is Rietveld 408576698