Index: Source/modules/mediastream/RTCPeerConnection.cpp |
diff --git a/Source/modules/mediastream/RTCPeerConnection.cpp b/Source/modules/mediastream/RTCPeerConnection.cpp |
index 6b30e82edddacadb0aca1393db00584d9ff5db40..a5e9b165b18250d19fd9ff45709a50a2e3154f8a 100644 |
--- a/Source/modules/mediastream/RTCPeerConnection.cpp |
+++ b/Source/modules/mediastream/RTCPeerConnection.cpp |
@@ -217,7 +217,7 @@ RTCPeerConnection* RTCPeerConnection::create(ExecutionContext* context, const Di |
if (exceptionState.hadException()) |
return 0; |
- RTCPeerConnection* peerConnection = adoptRefCountedGarbageCollectedWillBeNoop(new RTCPeerConnection(context, configuration, constraints, exceptionState)); |
+ RTCPeerConnection* peerConnection = new RTCPeerConnection(context, configuration, constraints, exceptionState); |
peerConnection->suspendIfNeeded(); |
if (exceptionState.hadException()) |
return 0; |