Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 0cb617542cbe9a0ace5952422bf74d0ef47cdae1..837f848b6f6f743e6d61ca4f185d10b7617fbd27 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -800,7 +800,7 @@ void HostProcess::OnInitializePairingRegistry( |
if (!result) |
return; |
- pairing_registry_delegate_ = delegate.PassAs<PairingRegistry::Delegate>(); |
+ pairing_registry_delegate_ = delegate.Pass(); |
#else // !defined(OS_WIN) |
NOTREACHED(); |
#endif // !defined(OS_WIN) |
@@ -1278,7 +1278,7 @@ void HostProcess::StartHost() { |
scoped_ptr<VideoFrameRecorderHostExtension> frame_recorder_extension( |
new VideoFrameRecorderHostExtension()); |
frame_recorder_extension->SetMaxContentBytes(frame_recorder_buffer_size_); |
- host_->AddExtension(frame_recorder_extension.PassAs<HostExtension>()); |
+ host_->AddExtension(frame_recorder_extension.Pass()); |
} |
// TODO(simonmorris): Get the maximum session duration from a policy. |