Index: remoting/host/video_frame_recorder.cc |
diff --git a/remoting/host/video_frame_recorder.cc b/remoting/host/video_frame_recorder.cc |
index 8883b106422e451778f70a32903c0dbbb1181d2d..4e3df47f649c2681117c4e3d079417906e8ca636 100644 |
--- a/remoting/host/video_frame_recorder.cc |
+++ b/remoting/host/video_frame_recorder.cc |
@@ -139,7 +139,7 @@ scoped_ptr<VideoEncoder> VideoFrameRecorder::WrapVideoEncoder( |
weak_factory_.GetWeakPtr())); |
recording_encoder_ = recording_encoder->AsWeakPtr(); |
- return recording_encoder.PassAs<VideoEncoder>(); |
+ return recording_encoder.Pass(); |
} |
void VideoFrameRecorder::DetachVideoEncoderWrapper() { |