| Index: webrtc/video/payload_router_unittest.cc
|
| diff --git a/webrtc/video/payload_router_unittest.cc b/webrtc/video/payload_router_unittest.cc
|
| index 8c22f2fd5cc1d210f3f0607babe8b900d5f424f7..3308154c4cb53fb4966bb09d69ee42beaf582245 100644
|
| --- a/webrtc/video/payload_router_unittest.cc
|
| +++ b/webrtc/video/payload_router_unittest.cc
|
| @@ -8,8 +8,7 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -
|
| -#include <list>
|
| +#include <vector>
|
|
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -35,7 +34,7 @@ class PayloadRouterTest : public ::testing::Test {
|
|
|
| TEST_F(PayloadRouterTest, SendOnOneModule) {
|
| MockRtpRtcp rtp;
|
| - std::list<RtpRtcp*> modules(1, &rtp);
|
| + std::vector<RtpRtcp*> modules(1, &rtp);
|
|
|
| payload_router_->SetSendingRtpModules(modules);
|
|
|
| @@ -82,7 +81,7 @@ TEST_F(PayloadRouterTest, SendOnOneModule) {
|
| TEST_F(PayloadRouterTest, SendSimulcast) {
|
| MockRtpRtcp rtp_1;
|
| MockRtpRtcp rtp_2;
|
| - std::list<RtpRtcp*> modules;
|
| + std::vector<RtpRtcp*> modules;
|
| modules.push_back(&rtp_1);
|
| modules.push_back(&rtp_2);
|
|
|
| @@ -147,7 +146,7 @@ TEST_F(PayloadRouterTest, MaxPayloadLength) {
|
|
|
| MockRtpRtcp rtp_1;
|
| MockRtpRtcp rtp_2;
|
| - std::list<RtpRtcp*> modules;
|
| + std::vector<RtpRtcp*> modules;
|
| modules.push_back(&rtp_1);
|
| modules.push_back(&rtp_2);
|
| payload_router_->SetSendingRtpModules(modules);
|
| @@ -175,7 +174,7 @@ TEST_F(PayloadRouterTest, MaxPayloadLength) {
|
| TEST_F(PayloadRouterTest, SetTargetSendBitrates) {
|
| MockRtpRtcp rtp_1;
|
| MockRtpRtcp rtp_2;
|
| - std::list<RtpRtcp*> modules;
|
| + std::vector<RtpRtcp*> modules;
|
| modules.push_back(&rtp_1);
|
| modules.push_back(&rtp_2);
|
| payload_router_->SetSendingRtpModules(modules);
|
|
|