Index: ash/system/chromeos/screen_layout_observer_unittest.cc |
diff --git a/ash/system/chromeos/screen_layout_observer_unittest.cc b/ash/system/chromeos/screen_layout_observer_unittest.cc |
index d468ee2665c8399c667101a4165ff7e1dedff63d..51bf059b738f01bd08613c89d986c7b164a79a8d 100644 |
--- a/ash/system/chromeos/screen_layout_observer_unittest.cc |
+++ b/ash/system/chromeos/screen_layout_observer_unittest.cc |
@@ -94,7 +94,7 @@ const message_center::Notification* |
ScreenLayoutObserverTest::GetDisplayNotification() const { |
const message_center::NotificationList::Notifications notifications = |
message_center::MessageCenter::Get()->GetVisibleNotifications(); |
- for (const auto& notification : notifications) { |
+ for (const auto* notification : notifications) { |
if (notification->id() == ScreenLayoutObserver::kNotificationId) |
return notification; |
} |