Index: ui/arc/notification/arc_notification_manager_unittest.cc |
diff --git a/ui/arc/notification/arc_notification_manager_unittest.cc b/ui/arc/notification/arc_notification_manager_unittest.cc |
index 4241860725c3c1038261c0bd866830bbdf869c2f..f9d066fbe8c9778aab922079c2ceb0903098e4fd 100644 |
--- a/ui/arc/notification/arc_notification_manager_unittest.cc |
+++ b/ui/arc/notification/arc_notification_manager_unittest.cc |
@@ -27,7 +27,7 @@ class MockMessageCenter : public message_center::FakeMessageCenter { |
} |
void AddNotification( |
- scoped_ptr<message_center::Notification> notification) override { |
+ std::unique_ptr<message_center::Notification> notification) override { |
visible_notifications_.insert(notification.release()); |
} |
@@ -104,10 +104,10 @@ class ArcNotificationManagerTest : public testing::Test { |
private: |
base::MessageLoop loop_; |
- scoped_ptr<FakeArcBridgeService> service_; |
- scoped_ptr<FakeNotificationsInstance> arc_notifications_instance_; |
- scoped_ptr<ArcNotificationManager> arc_notification_manager_; |
- scoped_ptr<MockMessageCenter> message_center_; |
+ std::unique_ptr<FakeArcBridgeService> service_; |
+ std::unique_ptr<FakeNotificationsInstance> arc_notifications_instance_; |
+ std::unique_ptr<ArcNotificationManager> arc_notification_manager_; |
+ std::unique_ptr<MockMessageCenter> message_center_; |
void SetUp() override { |
NotificationsInstancePtr arc_notifications_instance; |