Index: media/cast/test/receiver.cc |
diff --git a/media/cast/test/receiver.cc b/media/cast/test/receiver.cc |
index 2dd0be2db2b7732efe26a776f28a24e74d840646..67d84625374ac9156ce5943b5e35ef8f61ab5c00 100644 |
--- a/media/cast/test/receiver.cc |
+++ b/media/cast/test/receiver.cc |
@@ -345,7 +345,7 @@ class NaivePlayer : public InProcessReceiver, |
if (audio_playout_queue_.empty()) |
break; |
- currently_playing_audio_frame_ = PopOneAudioFrame(false).Pass(); |
+ currently_playing_audio_frame_ = PopOneAudioFrame(false); |
currently_playing_audio_frame_start_ = 0; |
} |
@@ -472,7 +472,7 @@ class NaivePlayer : public InProcessReceiver, |
scoped_ptr<AudioBus> ret(audio_playout_queue_.front().second); |
audio_playout_queue_.pop_front(); |
++num_audio_frames_processed_; |
- return ret.Pass(); |
+ return ret; |
} |
void CheckAVSync() { |