Index: webrtc/pc/channelmanager_unittest.cc |
diff --git a/webrtc/pc/channelmanager_unittest.cc b/webrtc/pc/channelmanager_unittest.cc |
index 34b347b3ff78c32f663922a3ac5b91c391243ee0..174d064b0543b0da6fd8cd10ddf4a02910d79723 100644 |
--- a/webrtc/pc/channelmanager_unittest.cc |
+++ b/webrtc/pc/channelmanager_unittest.cc |
@@ -173,17 +173,17 @@ |
const VideoCodec rtx_codec(96, "rtx"); |
// By default RTX is disabled. |
- codecs = cm_->GetSupportedVideoCodecs(); |
+ cm_->GetSupportedVideoCodecs(&codecs); |
EXPECT_FALSE(ContainsMatchingCodec(codecs, rtx_codec)); |
// Enable and check. |
EXPECT_TRUE(cm_->SetVideoRtxEnabled(true)); |
- codecs = cm_->GetSupportedVideoCodecs(); |
+ cm_->GetSupportedVideoCodecs(&codecs); |
EXPECT_TRUE(ContainsMatchingCodec(codecs, rtx_codec)); |
// Disable and check. |
EXPECT_TRUE(cm_->SetVideoRtxEnabled(false)); |
- codecs = cm_->GetSupportedVideoCodecs(); |
+ cm_->GetSupportedVideoCodecs(&codecs); |
EXPECT_FALSE(ContainsMatchingCodec(codecs, rtx_codec)); |
// Cannot toggle rtx after initialization. |
@@ -194,7 +194,7 @@ |
// Can set again after terminate. |
cm_->Terminate(); |
EXPECT_TRUE(cm_->SetVideoRtxEnabled(true)); |
- codecs = cm_->GetSupportedVideoCodecs(); |
+ cm_->GetSupportedVideoCodecs(&codecs); |
EXPECT_TRUE(ContainsMatchingCodec(codecs, rtx_codec)); |
} |