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); |
} |