Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Unified Diff: Source/modules/mediastream/RTCSessionDescription.cpp

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « Source/modules/mediastream/RTCSessionDescription.h ('k') | Source/modules/mediastream/RTCSessionDescription.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698