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

Unified Diff: google_apis/gaia/gaia_auth_util.cc

Issue 2184913002: google_apis: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « google_apis/drive/drive_api_requests.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_auth_util.cc
diff --git a/google_apis/gaia/gaia_auth_util.cc b/google_apis/gaia/gaia_auth_util.cc
index f81b430b4625af5b39d79e3243b2f2348e3a59f0..93b449690dda9797105d5c6bce7f7662094d0cc6 100644
--- a/google_apis/gaia/gaia_auth_util.cc
+++ b/google_apis/gaia/gaia_auth_util.cc
@@ -168,8 +168,8 @@ bool ParseListAccountsData(const std::string& data,
listed_account.valid = is_email_valid != 0;
listed_account.signed_out = signed_out != 0;
listed_account.raw_email = email;
- auto list = listed_account.signed_out ? signed_out_accounts :
- accounts;
+ auto* list =
+ listed_account.signed_out ? signed_out_accounts : accounts;
if (list)
list->push_back(listed_account);
}
« no previous file with comments | « google_apis/drive/drive_api_requests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698