Delete obsolete usage of FakeConstraints
Bug: webrtc:9239
Change-Id: I16f3bdaab6f8eee9e2c5ebc0044dd6e86dac9562
Reviewed-on: https://webrtc-review.googlesource.com/c/122500
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26648}
diff --git a/pc/rtc_stats_integrationtest.cc b/pc/rtc_stats_integrationtest.cc
index f0fc2f3..7fddfff 100644
--- a/pc/rtc_stats_integrationtest.cc
+++ b/pc/rtc_stats_integrationtest.cc
@@ -31,7 +31,6 @@
#include "api/stats/rtc_stats.h"
#include "api/stats/rtc_stats_report.h"
#include "api/stats/rtcstats_objects.h"
-#include "api/test/fake_constraints.h"
#include "pc/rtc_stats_traversal.h"
#include "pc/test/peer_connection_test_wrapper.h"
#include "pc/test/rtc_stats_obtainer.h"
@@ -133,10 +132,8 @@
PeerConnectionTestWrapper::Connect(caller_.get(), callee_.get());
// Get user media for audio and video
- caller_->GetAndAddUserMedia(true, cricket::AudioOptions(), true,
- FakeConstraints());
- callee_->GetAndAddUserMedia(true, cricket::AudioOptions(), true,
- FakeConstraints());
+ caller_->GetAndAddUserMedia(true, cricket::AudioOptions(), true);
+ callee_->GetAndAddUserMedia(true, cricket::AudioOptions(), true);
// Create data channels
DataChannelInit init;