| Index: content/renderer/media/mock_peer_connection_impl.cc
|
| diff --git a/content/renderer/media/mock_peer_connection_impl.cc b/content/renderer/media/mock_peer_connection_impl.cc
|
| index 831571b870373d86da09fa0476d7280f04e84068..d21e134b8edb30d2bedf73bac2f528e0ff962e2f 100644
|
| --- a/content/renderer/media/mock_peer_connection_impl.cc
|
| +++ b/content/renderer/media/mock_peer_connection_impl.cc
|
| @@ -278,8 +278,8 @@ bool MockPeerConnectionImpl::GetStats(
|
| webrtc::StatsReport::kStatsValueNameFingerprint,
|
| "trackvalue"));
|
|
|
| - std::vector<webrtc::StatsReport> reports;
|
| - reports.push_back(report1);
|
| + webrtc::StatsReports reports;
|
| + reports.push_back(&report1);
|
|
|
| // If selector is given, we pass back one report.
|
| // If selector is not given, we pass back two.
|
| @@ -291,7 +291,7 @@ bool MockPeerConnectionImpl::GetStats(
|
| webrtc::StatsReport::Value(
|
| webrtc::StatsReport::kStatsValueNameFingerprintAlgorithm,
|
| "somevalue"));
|
| - reports.push_back(report2);
|
| + reports.push_back(&report2);
|
| }
|
|
|
| // Note that the callback is synchronous, not asynchronous; it will
|
|
|