| Index: Source/modules/mediastream/RTCSessionDescription.cpp
|
| diff --git a/Source/modules/mediastream/RTCSessionDescription.cpp b/Source/modules/mediastream/RTCSessionDescription.cpp
|
| index c72a8a4e30f6f6f1299bbaa8e0a3ed5de47cd084..0ed7e3a7a4752cf07332d25b0fed3b3d524da017 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 = DictionaryHelper::get(descriptionInitDict, "type", type);
|
| + bool ok = descriptionInitDict.get("type", type);
|
| if (ok && !verifyType(type)) {
|
| exceptionState.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
|
| return nullptr;
|
| }
|
|
|
| String sdp;
|
| - DictionaryHelper::get(descriptionInitDict, "sdp", sdp);
|
| + descriptionInitDict.get("sdp", sdp);
|
|
|
| return new RTCSessionDescription(WebRTCSessionDescription(type, sdp));
|
| }
|
|
|