Index: remoting/host/continue_window_win.cc |
diff --git a/remoting/host/continue_window_win.cc b/remoting/host/continue_window_win.cc |
index d0ac25607b4727f2e629ef871798414fe4a1ae71..37578f22701803703d207d8abdc5e17bc2eb7945 100644 |
--- a/remoting/host/continue_window_win.cc |
+++ b/remoting/host/continue_window_win.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "remoting/host/continue_window.h" |
+ |
#include <windows.h> |
#include "base/bind.h" |
@@ -10,10 +12,10 @@ |
#include "base/location.h" |
#include "base/logging.h" |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
#include "base/single_thread_task_runner.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/win/current_module.h" |
-#include "remoting/host/continue_window.h" |
#include "remoting/host/win/core_resource.h" |
namespace remoting { |
@@ -128,8 +130,8 @@ void ContinueWindowWin::EndDialog() { |
} // namespace |
// static |
-scoped_ptr<HostWindow> HostWindow::CreateContinueWindow() { |
- return make_scoped_ptr(new ContinueWindowWin()); |
+std::unique_ptr<HostWindow> HostWindow::CreateContinueWindow() { |
+ return base::WrapUnique(new ContinueWindowWin()); |
} |
} // namespace remoting |