Index: remoting/host/fake_host_extension.cc |
diff --git a/remoting/host/fake_host_extension.cc b/remoting/host/fake_host_extension.cc |
index 1e980efaa65dd4a3756a22280adc3e4e36ea29d3..3fc26c11fee1b3b1b1861dadab4453c1aec9ea15 100644 |
--- a/remoting/host/fake_host_extension.cc |
+++ b/remoting/host/fake_host_extension.cc |
@@ -8,6 +8,7 @@ |
#include "base/logging.h" |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
#include "remoting/codec/video_encoder.h" |
#include "remoting/host/host_extension_session.h" |
#include "remoting/proto/control.pb.h" |
@@ -57,12 +58,12 @@ std::string FakeExtension::capability() const { |
return capability_; |
} |
-scoped_ptr<HostExtensionSession> FakeExtension::CreateExtensionSession( |
+std::unique_ptr<HostExtensionSession> FakeExtension::CreateExtensionSession( |
ClientSessionControl* client_session_control, |
protocol::ClientStub* client_stub) { |
DCHECK(!was_instantiated()); |
was_instantiated_ = true; |
- return make_scoped_ptr(new Session(this, message_type_)); |
+ return base::WrapUnique(new Session(this, message_type_)); |
} |
} // namespace remoting |