Update pc/ to not use implicit T* --> scoped_refptr<T> conversion
Bug: webrtc:13464
Change-Id: I729ec2306ec0d6df2e546b5dbb530f57065d60da
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/244090
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35623}
diff --git a/pc/connection_context.cc b/pc/connection_context.cc
index d058c9d..6c6da4e 100644
--- a/pc/connection_context.cc
+++ b/pc/connection_context.cc
@@ -75,7 +75,8 @@
// Static
rtc::scoped_refptr<ConnectionContext> ConnectionContext::Create(
PeerConnectionFactoryDependencies* dependencies) {
- return new ConnectionContext(dependencies);
+ return rtc::scoped_refptr<ConnectionContext>(
+ new ConnectionContext(dependencies));
}
ConnectionContext::ConnectionContext(