Index: Source/modules/mediastream/RTCSessionDescription.cpp |
diff --git a/Source/modules/mediastream/RTCSessionDescription.cpp b/Source/modules/mediastream/RTCSessionDescription.cpp |
index 33dad9a09598781558a95acf30884c98e07c7570..8559f69660f8e8bab6f3363147aab58d1fa17f50 100644 |
--- a/Source/modules/mediastream/RTCSessionDescription.cpp |
+++ b/Source/modules/mediastream/RTCSessionDescription.cpp |
@@ -48,7 +48,7 @@ static String constructIllegalTypeExceptionMessage(const String& type) |
return "Illegal value of attribute 'type' : " + type; |
} |
-PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary& descriptionInitDict, ExceptionState& exceptionState) |
+PassRefPtrWillBeRawPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary& descriptionInitDict, ExceptionState& exceptionState) |
{ |
String type; |
bool ok = descriptionInitDict.get("type", type); |
@@ -60,12 +60,12 @@ PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary |
String sdp; |
descriptionInitDict.get("sdp", sdp); |
- return adoptRef(new RTCSessionDescription(blink::WebRTCSessionDescription(type, sdp))); |
+ return adoptRefWillBeNoop(new RTCSessionDescription(blink::WebRTCSessionDescription(type, sdp))); |
} |
-PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(blink::WebRTCSessionDescription webSessionDescription) |
+PassRefPtrWillBeRawPtr<RTCSessionDescription> RTCSessionDescription::create(blink::WebRTCSessionDescription webSessionDescription) |
{ |
- return adoptRef(new RTCSessionDescription(webSessionDescription)); |
+ return adoptRefWillBeNoop(new RTCSessionDescription(webSessionDescription)); |
} |
RTCSessionDescription::RTCSessionDescription(blink::WebRTCSessionDescription webSessionDescription) |