| Index: Source/modules/mediastream/MediaConstraintsImpl.cpp
|
| diff --git a/Source/modules/mediastream/MediaConstraintsImpl.cpp b/Source/modules/mediastream/MediaConstraintsImpl.cpp
|
| index e309dfae04e3665a8819db688ddd19b0a32ceb19..2a93b96818fd2891a0bdef7960a5eed4a9c332fc 100644
|
| --- a/Source/modules/mediastream/MediaConstraintsImpl.cpp
|
| +++ b/Source/modules/mediastream/MediaConstraintsImpl.cpp
|
| @@ -40,11 +40,11 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<MediaConstraintsImpl> MediaConstraintsImpl::create(const Dictionary& constraints, ExceptionState& es)
|
| +PassRefPtr<MediaConstraintsImpl> MediaConstraintsImpl::create(const Dictionary& constraints, ExceptionState& exceptionState)
|
| {
|
| RefPtr<MediaConstraintsImpl> object = adoptRef(new MediaConstraintsImpl());
|
| if (!object->initialize(constraints)) {
|
| - es.throwUninformativeAndGenericDOMException(TypeMismatchError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(TypeMismatchError);
|
| return 0;
|
| }
|
| return object.release();
|
|
|