Index: chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc |
diff --git a/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc b/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc |
index 91490fd9abf2acbb5a9d2fbf92b551a0d3b040f9..0a59b0ccf13ec4fdf441e39b739eb4b332f355e9 100644 |
--- a/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc |
+++ b/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc |
@@ -148,7 +148,7 @@ IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest, WebNotifications) { |
} |
IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest, WebNotificationPopupBubble) { |
- scoped_ptr<WebNotificationTray> tray(new WebNotificationTray()); |
+ std::unique_ptr<WebNotificationTray> tray(new WebNotificationTray()); |
tray->message_center(); |
// Adding a notification should show the popup bubble. |
@@ -172,7 +172,7 @@ IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest, WebNotificationPopupBubble) { |
using message_center::NotificationList; |
IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest, ManyPopupNotifications) { |
- scoped_ptr<WebNotificationTray> tray(new WebNotificationTray()); |
+ std::unique_ptr<WebNotificationTray> tray(new WebNotificationTray()); |
message_center::MessageCenter* message_center = tray->message_center(); |
// Add the max visible popup notifications +1, ensure the correct num visible. |