| Index: remoting/host/fake_host_extension.cc
|
| diff --git a/remoting/host/fake_host_extension.cc b/remoting/host/fake_host_extension.cc
|
| index 73464c19d0ce871238cee27b9dfab5f6e649fb53..3317b770ea3f4ebf0fa67412c0fd230944f5c632 100644
|
| --- a/remoting/host/fake_host_extension.cc
|
| +++ b/remoting/host/fake_host_extension.cc
|
| @@ -93,8 +93,7 @@ scoped_ptr<HostExtensionSession> FakeExtension::CreateExtensionSession(
|
| protocol::ClientStub* client_stub) {
|
| DCHECK(!was_instantiated());
|
| was_instantiated_ = true;
|
| - scoped_ptr<HostExtensionSession> session(new Session(this, message_type_));
|
| - return session.Pass();
|
| + return make_scoped_ptr(new Session(this, message_type_));
|
| }
|
|
|
| } // namespace remoting
|
|
|