diff options
Diffstat (limited to 'pc/peer_connection_adaptation_integrationtest.cc')
-rw-r--r-- | pc/peer_connection_adaptation_integrationtest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pc/peer_connection_adaptation_integrationtest.cc b/pc/peer_connection_adaptation_integrationtest.cc index 71d054eb90..dfb12971b4 100644 --- a/pc/peer_connection_adaptation_integrationtest.cc +++ b/pc/peer_connection_adaptation_integrationtest.cc @@ -50,7 +50,7 @@ TrackWithPeriodicSource CreateTrackWithPeriodicSource( periodic_track_source_config.frame_interval_ms = 100; periodic_track_source_config.timestamp_offset_ms = rtc::TimeMillis(); rtc::scoped_refptr<FakePeriodicVideoTrackSource> periodic_track_source = - new rtc::RefCountedObject<FakePeriodicVideoTrackSource>( + rtc::make_ref_counted<FakePeriodicVideoTrackSource>( periodic_track_source_config, /* remote */ false); TrackWithPeriodicSource track_with_source; track_with_source.track = @@ -83,7 +83,7 @@ class PeerConnectionAdaptationIntegrationTest : public ::testing::Test { rtc::scoped_refptr<PeerConnectionTestWrapper> CreatePcWrapper( const char* name) { rtc::scoped_refptr<PeerConnectionTestWrapper> pc_wrapper = - new rtc::RefCountedObject<PeerConnectionTestWrapper>( + rtc::make_ref_counted<PeerConnectionTestWrapper>( name, network_thread_.get(), worker_thread_.get()); PeerConnectionInterface::RTCConfiguration config; config.sdp_semantics = SdpSemantics::kUnifiedPlan; |