| Index: Source/modules/mediastream/RTCSessionDescription.cpp
|
| diff --git a/Source/modules/mediastream/RTCSessionDescription.cpp b/Source/modules/mediastream/RTCSessionDescription.cpp
|
| index 81f7961da804b4e3cb9e22b4e6fb13046862b274..578c1538967ae1c15160aa747c4195c254a9f5bb 100644
|
| --- a/Source/modules/mediastream/RTCSessionDescription.cpp
|
| +++ b/Source/modules/mediastream/RTCSessionDescription.cpp
|
| @@ -48,14 +48,14 @@ PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary
|
| String type;
|
| bool ok = dictionary.get("type", type);
|
| if (!ok || !verifyType(type)) {
|
| - ec = TYPE_MISMATCH_ERR;
|
| + ec = TypeMismatchError;
|
| return 0;
|
| }
|
|
|
| String sdp;
|
| ok = dictionary.get("sdp", sdp);
|
| if (!ok || sdp.isEmpty()) {
|
| - ec = TYPE_MISMATCH_ERR;
|
| + ec = TypeMismatchError;
|
| return 0;
|
| }
|
|
|
| @@ -87,7 +87,7 @@ void RTCSessionDescription::setType(const String& type, ExceptionCode& ec)
|
| if (verifyType(type))
|
| m_webSessionDescription.setType(type);
|
| else
|
| - ec = TYPE_MISMATCH_ERR;
|
| + ec = TypeMismatchError;
|
| }
|
|
|
| String RTCSessionDescription::sdp()
|
|
|