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

Unified Diff: net/cookies/cookie_monster.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase 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
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_header_validator.cc ('k') | net/cookies/cookie_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_monster.cc
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc
index 59a9924bcff1b2be713555181f2fcad27520dfe5..2272d7b08ab49ca58e9ce4024cd2ebb369efdc07 100644
--- a/net/cookies/cookie_monster.cc
+++ b/net/cookies/cookie_monster.cc
@@ -1099,7 +1099,7 @@ CookieList CookieMonster::GetAllCookies() {
CookieList cookie_list;
cookie_list.reserve(cookie_ptrs.size());
- for (const auto& cookie_ptr : cookie_ptrs)
+ for (auto* cookie_ptr : cookie_ptrs)
cookie_list.push_back(*cookie_ptr);
return cookie_list;
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_header_validator.cc ('k') | net/cookies/cookie_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698