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

Unified Diff: components/bookmarks/browser/typed_count_sorter.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: update 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: components/bookmarks/browser/typed_count_sorter.cc
diff --git a/components/bookmarks/browser/typed_count_sorter.cc b/components/bookmarks/browser/typed_count_sorter.cc
index 311f13836c9253e32967967de32b26575b7f783b..195761068e4b7a94b36b05b9c4692194aeb66e8c 100644
--- a/components/bookmarks/browser/typed_count_sorter.cc
+++ b/components/bookmarks/browser/typed_count_sorter.cc
@@ -56,7 +56,7 @@ void TypedCountSorter::SortMatches(const TitledUrlNodeSet& matches,
if (client_->SupportsTypedCountForUrls()) {
UrlNodeMap url_node_map;
UrlTypedCountMap url_typed_count_map;
- for (auto node : matches) {
+ for (auto* node : matches) {
const GURL& url = node->GetTitledUrlNodeUrl();
url_node_map.insert(std::make_pair(&url, node));
url_typed_count_map.insert(std::make_pair(&url, 0));

Powered by Google App Engine
This is Rietveld 408576698