Index: Source/modules/mediastream/RTCSessionDescription.cpp |
diff --git a/Source/modules/mediastream/RTCSessionDescription.cpp b/Source/modules/mediastream/RTCSessionDescription.cpp |
index cdea6801ca9d4da2580b58fe58927e4f15770caf..42897e6b843d6fb957b8b0a663637128afb44987 100644 |
--- a/Source/modules/mediastream/RTCSessionDescription.cpp |
+++ b/Source/modules/mediastream/RTCSessionDescription.cpp |
@@ -50,14 +50,14 @@ static String constructIllegalTypeExceptionMessage(const String& type) |
RTCSessionDescription* RTCSessionDescription::create(const Dictionary& descriptionInitDict, ExceptionState& exceptionState) |
{ |
String type; |
- bool ok = descriptionInitDict.get("type", type); |
+ bool ok = DictionaryHelper::get(descriptionInitDict, "type", type); |
if (ok && !verifyType(type)) { |
exceptionState.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type)); |
return nullptr; |
} |
String sdp; |
- descriptionInitDict.get("sdp", sdp); |
+ DictionaryHelper::get(descriptionInitDict, "sdp", sdp); |
return new RTCSessionDescription(blink::WebRTCSessionDescription(type, sdp)); |
} |