Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: remoting/host/video_frame_recorder.cc

Issue 609923004: Cleanup usage of scoped_ptr<> in remoting for C++11 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698