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

Unified Diff: net/cookies/cookie_store.cc

Issue 2101863004: net: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « net/cookies/cookie_monster.cc ('k') | net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_store.cc
diff --git a/net/cookies/cookie_store.cc b/net/cookies/cookie_store.cc
index cb9acc8b41df9dbd9beb2380b5987a56480c39b4..1f1b7b96460b8e7410e6940123bdb66d1fa7d342 100644
--- a/net/cookies/cookie_store.cc
+++ b/net/cookies/cookie_store.cc
@@ -31,7 +31,7 @@ std::string CookieStore::BuildCookieLine(
std::string CookieStore::BuildCookieLine(
const std::vector<CanonicalCookie*>& cookies) {
std::string cookie_line;
- for (const auto& cookie : cookies) {
+ for (auto* cookie : cookies) {
if (!cookie_line.empty())
cookie_line += "; ";
// In Mozilla, if you set a cookie like "AAA", it will have an empty token
« no previous file with comments | « net/cookies/cookie_monster.cc ('k') | net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698