| Index: remoting/host/continue_window_chromeos.cc
|
| diff --git a/remoting/host/continue_window_chromeos.cc b/remoting/host/continue_window_chromeos.cc
|
| index 17c8895631d892f44255521271968871d839e3d0..5143046cc7e336e8174ab13ddfb595e23f72b570 100644
|
| --- a/remoting/host/continue_window_chromeos.cc
|
| +++ b/remoting/host/continue_window_chromeos.cc
|
| @@ -5,6 +5,7 @@
|
| #include "remoting/host/continue_window.h"
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "remoting/base/string_resources.h"
|
| #include "remoting/host/chromeos/message_box.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| @@ -26,7 +27,7 @@ class ContinueWindowAura : public ContinueWindow {
|
| void HideUi() override;
|
|
|
| private:
|
| - scoped_ptr<MessageBox> message_box_;
|
| + std::unique_ptr<MessageBox> message_box_;
|
| DISALLOW_COPY_AND_ASSIGN(ContinueWindowAura);
|
| };
|
|
|
| @@ -63,8 +64,8 @@ void ContinueWindowAura::HideUi() {
|
| } // namespace
|
|
|
| // static
|
| -scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() {
|
| - return make_scoped_ptr(new ContinueWindowAura());
|
| +std::unique_ptr<HostWindow> HostWindow::CreateContinueWindow() {
|
| + return base::WrapUnique(new ContinueWindowAura());
|
| }
|
|
|
| } // namespace remoting
|
|
|