Index: content/browser/frame_host/navigation_entry_impl.cc |
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc |
index 6baa2a7fbd5ddd817b9ecfd74524e70a65e96eac..cecfb105f0f79b29e7edbed41b84998da1252d6d 100644 |
--- a/content/browser/frame_host/navigation_entry_impl.cc |
+++ b/content/browser/frame_host/navigation_entry_impl.cc |
@@ -131,7 +131,7 @@ NavigationEntryImpl::TreeNode::CloneAndReplace( |
new NavigationEntryImpl::TreeNode(frame_entry->Clone())); |
// Recursively clone the children. |
- for (auto& child : children) { |
+ for (auto* child : children) { |
copy->children.push_back( |
child->CloneAndReplace(frame_tree_node, frame_navigation_entry, false)); |
} |
@@ -776,7 +776,7 @@ NavigationEntryImpl::TreeNode* NavigationEntryImpl::FindFrameEntry( |
return node; |
// Enqueue any children and keep looking. |
- for (auto& child : node->children) |
+ for (auto* child : node->children) |
work_queue.push(child); |
} |
return nullptr; |