| Index: Source/modules/mediastream/RTCIceCandidate.cpp
|
| diff --git a/Source/modules/mediastream/RTCIceCandidate.cpp b/Source/modules/mediastream/RTCIceCandidate.cpp
|
| index e8d67e247e12233c372e498e0d65279e54415704..33174321c9bf2a2750222ea25a291f50f0a43477 100644
|
| --- a/Source/modules/mediastream/RTCIceCandidate.cpp
|
| +++ b/Source/modules/mediastream/RTCIceCandidate.cpp
|
| @@ -41,17 +41,17 @@ namespace blink {
|
| RTCIceCandidate* RTCIceCandidate::create(const Dictionary& dictionary, ExceptionState& exceptionState)
|
| {
|
| String candidate;
|
| - bool ok = DictionaryHelper::get(dictionary, "candidate", candidate);
|
| + bool ok = dictionary.get("candidate", candidate);
|
| if (!ok || !candidate.length()) {
|
| exceptionState.throwDOMException(TypeMismatchError, ExceptionMessages::incorrectPropertyType("candidate", "is not a string, or is empty."));
|
| return nullptr;
|
| }
|
|
|
| String sdpMid;
|
| - DictionaryHelper::get(dictionary, "sdpMid", sdpMid);
|
| + dictionary.get("sdpMid", sdpMid);
|
|
|
| unsigned short sdpMLineIndex = 0;
|
| - DictionaryHelper::get(dictionary, "sdpMLineIndex", sdpMLineIndex);
|
| + dictionary.get("sdpMLineIndex", sdpMLineIndex);
|
|
|
| return new RTCIceCandidate(WebRTCICECandidate(candidate, sdpMid, sdpMLineIndex));
|
| }
|
|
|