| Index: ui/message_center/views/toast_contents_view.cc
|
| diff --git a/ui/message_center/views/toast_contents_view.cc b/ui/message_center/views/toast_contents_view.cc
|
| index fd2cb46a50d74e16e8e609a7616cfc379d3d89b5..0852aca404c43b04e7551063b59681fbf242ec4a 100644
|
| --- a/ui/message_center/views/toast_contents_view.cc
|
| +++ b/ui/message_center/views/toast_contents_view.cc
|
| @@ -4,9 +4,10 @@
|
|
|
| #include "ui/message_center/views/toast_contents_view.h"
|
|
|
| +#include <memory>
|
| +
|
| #include "base/bind.h"
|
| #include "base/compiler_specific.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/time/time.h"
|
| #include "build/build_config.h"
|
| @@ -313,9 +314,9 @@ void ToastContentsView::RemoveNotification(
|
| collection_->RemoveNotification(notification_id, by_user);
|
| }
|
|
|
| -scoped_ptr<ui::MenuModel> ToastContentsView::CreateMenuModel(
|
| - const NotifierId& notifier_id,
|
| - const base::string16& display_source) {
|
| +std::unique_ptr<ui::MenuModel> ToastContentsView::CreateMenuModel(
|
| + const NotifierId& notifier_id,
|
| + const base::string16& display_source) {
|
| // Should not reach, the context menu should be handled in
|
| // MessagePopupCollection.
|
| NOTREACHED();
|
|
|