Index: Source/modules/mediastream/RTCIceCandidate.cpp |
diff --git a/Source/modules/mediastream/RTCIceCandidate.cpp b/Source/modules/mediastream/RTCIceCandidate.cpp |
index 8cf18f88f10d9c6d15e68dcc3f04e5fdeac45439..b37739911d9650553c6c28e2a559e0980f960bc3 100644 |
--- a/Source/modules/mediastream/RTCIceCandidate.cpp |
+++ b/Source/modules/mediastream/RTCIceCandidate.cpp |
@@ -39,7 +39,7 @@ |
namespace WebCore { |
-PassRefPtr<RTCIceCandidate> RTCIceCandidate::create(const Dictionary& dictionary, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<RTCIceCandidate> RTCIceCandidate::create(const Dictionary& dictionary, ExceptionState& exceptionState) |
{ |
String candidate; |
bool ok = dictionary.get("candidate", candidate); |
@@ -54,12 +54,12 @@ PassRefPtr<RTCIceCandidate> RTCIceCandidate::create(const Dictionary& dictionary |
unsigned short sdpMLineIndex = 0; |
dictionary.get("sdpMLineIndex", sdpMLineIndex); |
- return adoptRef(new RTCIceCandidate(blink::WebRTCICECandidate(candidate, sdpMid, sdpMLineIndex))); |
+ return adoptRefWillBeNoop(new RTCIceCandidate(blink::WebRTCICECandidate(candidate, sdpMid, sdpMLineIndex))); |
} |
-PassRefPtr<RTCIceCandidate> RTCIceCandidate::create(blink::WebRTCICECandidate webCandidate) |
+PassRefPtrWillBeRawPtr<RTCIceCandidate> RTCIceCandidate::create(blink::WebRTCICECandidate webCandidate) |
{ |
- return adoptRef(new RTCIceCandidate(webCandidate)); |
+ return adoptRefWillBeNoop(new RTCIceCandidate(webCandidate)); |
} |
RTCIceCandidate::RTCIceCandidate(blink::WebRTCICECandidate webCandidate) |