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

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

Issue 2722763002: [LayoutNG] Switch NGBreakToken to being RefCounted. (Closed)
Patch Set: remove comments. Created 3 years, 10 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 3c820fd4475ff31228177322e01e0d72a9640f9a..a61a366f5f4f0c60b2d30b07cf30312b3827bed7 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
@@ -34,7 +34,7 @@ NGBlockChildIterator::Entry NGBlockChildIterator::NextChild() {
// This child break token candidate doesn't match the current node, this
// node must be unfinished.
NGBreakToken* child_break_token_candidate =
- child_break_tokens[child_token_idx_];
+ child_break_tokens[child_token_idx_].get();
if (child_break_token_candidate->InputNode() != child_)
break;

Powered by Google App Engine
This is Rietveld 408576698