| Index: Source/modules/mediastream/RTCSessionDescription.cpp
|
| diff --git a/Source/modules/mediastream/RTCSessionDescription.cpp b/Source/modules/mediastream/RTCSessionDescription.cpp
|
| index 0927559d2a6c765e76e56efe05685cc0c71929df..6458972810362bc590d0c48454e2cf467dee65b3 100644
|
| --- a/Source/modules/mediastream/RTCSessionDescription.cpp
|
| +++ b/Source/modules/mediastream/RTCSessionDescription.cpp
|
| @@ -48,12 +48,12 @@ static String constructIllegalTypeExceptionMessage(const String& type)
|
| return "Illegal value of attribute 'type' : " + type;
|
| }
|
|
|
| -PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary& descriptionInitDict, ExceptionState& es)
|
| +PassRefPtr<RTCSessionDescription> RTCSessionDescription::create(const Dictionary& descriptionInitDict, ExceptionState& exceptionState)
|
| {
|
| String type;
|
| bool ok = descriptionInitDict.get("type", type);
|
| if (ok && !verifyType(type)) {
|
| - es.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
|
| + exceptionState.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
|
| return 0;
|
| }
|
|
|
| @@ -79,12 +79,12 @@ String RTCSessionDescription::type()
|
| return m_webSessionDescription.type();
|
| }
|
|
|
| -void RTCSessionDescription::setType(const String& type, ExceptionState& es)
|
| +void RTCSessionDescription::setType(const String& type, ExceptionState& exceptionState)
|
| {
|
| if (verifyType(type))
|
| m_webSessionDescription.setType(type);
|
| else
|
| - es.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
|
| + exceptionState.throwDOMException(TypeMismatchError, constructIllegalTypeExceptionMessage(type));
|
| }
|
|
|
| String RTCSessionDescription::sdp()
|
|
|