Index: ui/message_center/notification.cc |
diff --git a/ui/message_center/notification.cc b/ui/message_center/notification.cc |
index b0a379ddb9d38b88532f91ef160600c94c8bc126..b2ddd52568c491e65d2f602a4931499b9fc0e17e 100644 |
--- a/ui/message_center/notification.cc |
+++ b/ui/message_center/notification.cc |
@@ -169,14 +169,14 @@ bool Notification::UseOriginAsContextMessage() const { |
} |
// static |
-scoped_ptr<Notification> Notification::CreateSystemNotification( |
+std::unique_ptr<Notification> Notification::CreateSystemNotification( |
const std::string& notification_id, |
const base::string16& title, |
const base::string16& message, |
const gfx::Image& icon, |
const std::string& system_component_id, |
const base::Closure& click_callback) { |
- scoped_ptr<Notification> notification(new Notification( |
+ std::unique_ptr<Notification> notification(new Notification( |
NOTIFICATION_TYPE_SIMPLE, notification_id, title, message, icon, |
base::string16() /* display_source */, GURL(), |
NotifierId(NotifierId::SYSTEM_COMPONENT, system_component_id), |