Index: talk/app/webrtc/webrtcsession_unittest.cc |
diff --git a/talk/app/webrtc/webrtcsession_unittest.cc b/talk/app/webrtc/webrtcsession_unittest.cc |
index e8624761e9e699bfbb3c15faca6eaa6676ace626..a463ba90bbecfddb81f8addb046b1fb63e9f3713 100644 |
--- a/talk/app/webrtc/webrtcsession_unittest.cc |
+++ b/talk/app/webrtc/webrtcsession_unittest.cc |
@@ -3101,11 +3101,10 @@ TEST_F(WebRtcSessionTest, SetAudioPlayout) { |
double volume; |
EXPECT_TRUE(channel->GetOutputVolume(receive_ssrc, &volume)); |
EXPECT_EQ(1, volume); |
- rtc::scoped_ptr<FakeAudioRenderer> renderer(new FakeAudioRenderer()); |
- session_->SetAudioPlayout(receive_ssrc, false, renderer.get()); |
+ session_->SetAudioPlayout(receive_ssrc, false); |
EXPECT_TRUE(channel->GetOutputVolume(receive_ssrc, &volume)); |
EXPECT_EQ(0, volume); |
- session_->SetAudioPlayout(receive_ssrc, true, NULL); |
+ session_->SetAudioPlayout(receive_ssrc, true); |
EXPECT_TRUE(channel->GetOutputVolume(receive_ssrc, &volume)); |
EXPECT_EQ(1, volume); |
} |