| Index: chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
| diff --git a/chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h b/chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
| index d32c5404efc4a1ca974733f900ccbd56fff88b29..696d815b2911e55c6abc314f6d358e8ae81849a7 100644
|
| --- a/chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
| +++ b/chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h
|
| @@ -5,10 +5,11 @@
|
| #ifndef CHROME_BROWSER_UI_COCOA_JAVASCRIPT_APP_MODAL_DIALOG_COCOA_H_
|
| #define CHROME_BROWSER_UI_COCOA_JAVASCRIPT_APP_MODAL_DIALOG_COCOA_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/logging.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "components/app_modal/native_app_modal_dialog.h"
|
|
|
| class AppModalDialogHelper;
|
| @@ -44,8 +45,8 @@ class JavaScriptAppModalDialogCocoa : public app_modal::NativeAppModalDialog {
|
| // Returns the NSAlert associated with the modal dialog.
|
| NSAlert* GetAlert() const;
|
|
|
| - scoped_ptr<app_modal::JavaScriptAppModalDialog> dialog_;
|
| - scoped_ptr<AppModalDialogHelper> popup_helper_;
|
| + std::unique_ptr<app_modal::JavaScriptAppModalDialog> dialog_;
|
| + std::unique_ptr<AppModalDialogHelper> popup_helper_;
|
|
|
| // Created in the constructor and destroyed in the destructor.
|
| base::scoped_nsobject<JavaScriptAppModalDialogHelper> helper_;
|
|
|