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

Unified Diff: chrome/browser/notifications/message_center_settings_controller.cc

Issue 2193653002: chrome/browser/notifications: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/message_center_settings_controller.cc
diff --git a/chrome/browser/notifications/message_center_settings_controller.cc b/chrome/browser/notifications/message_center_settings_controller.cc
index 03c8a32220a6cba237c2a81b9b19016b75a74c69..f0669aafbf574ea515882a3caf172ec04d01d14f 100644
--- a/chrome/browser/notifications/message_center_settings_controller.cc
+++ b/chrome/browser/notifications/message_center_settings_controller.cc
@@ -371,7 +371,7 @@ void MessageCenterSettingsController::RebuildNotifierGroups(bool notify) {
std::vector<ProfileAttributesEntry*> entries =
profile_attributes_storage_.GetAllProfilesAttributes();
- for (const auto entry : entries) {
+ for (auto* entry : entries) {
std::unique_ptr<message_center::ProfileNotifierGroup> group(
new message_center::ProfileNotifierGroup(
entry->GetAvatarIcon(), entry->GetName(), entry->GetUserName(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698