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

Unified Diff: ui/arc/notification/arc_notification_manager.cc

Issue 2183283002: ui/arc/notification: 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: ui/arc/notification/arc_notification_manager.cc
diff --git a/ui/arc/notification/arc_notification_manager.cc b/ui/arc/notification/arc_notification_manager.cc
index b25aeba2d64eefbf793eebcd4fb5072bb27afc6d..f482ff719f423a77234491967ebb4a40ee4dc953 100644
--- a/ui/arc/notification/arc_notification_manager.cc
+++ b/ui/arc/notification/arc_notification_manager.cc
@@ -37,7 +37,7 @@ ArcNotificationManager::~ArcNotificationManager() {
void ArcNotificationManager::OnInstanceReady() {
DCHECK(!ready_);
- auto notifications_instance =
+ auto* notifications_instance =
arc_bridge_service()->notifications()->instance();
if (!notifications_instance) {
VLOG(2) << "Request to refresh app list when bridge service is not ready.";
@@ -110,7 +110,7 @@ void ArcNotificationManager::SendNotificationRemovedFromChrome(
std::unique_ptr<ArcNotificationItem> item = std::move(it->second);
items_.erase(it);
- auto notifications_instance =
+ auto* notifications_instance =
arc_bridge_service()->notifications()->instance();
// On shutdown, the ARC channel may quit earlier then notifications.
@@ -132,7 +132,7 @@ void ArcNotificationManager::SendNotificationClickedOnChrome(
return;
}
- auto notifications_instance =
+ auto* notifications_instance =
arc_bridge_service()->notifications()->instance();
// On shutdown, the ARC channel may quit earlier then notifications.
@@ -155,7 +155,7 @@ void ArcNotificationManager::SendNotificationButtonClickedOnChrome(
return;
}
- auto notifications_instance =
+ auto* notifications_instance =
arc_bridge_service()->notifications()->instance();
// On shutdown, the ARC channel may quit earlier then notifications.
« 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