| Index: Source/modules/mediastream/MediaConstraintsImpl.cpp
|
| diff --git a/Source/modules/mediastream/MediaConstraintsImpl.cpp b/Source/modules/mediastream/MediaConstraintsImpl.cpp
|
| index f62235222cb7ac738ca6f4872e7702252d7a03f2..89beb4d65bcf628c656fb403935285fb5fedd6df 100644
|
| --- a/Source/modules/mediastream/MediaConstraintsImpl.cpp
|
| +++ b/Source/modules/mediastream/MediaConstraintsImpl.cpp
|
| @@ -43,7 +43,7 @@ PassRefPtr<MediaConstraintsImpl> MediaConstraintsImpl::create(const Dictionary&
|
| {
|
| RefPtr<MediaConstraintsImpl> object = adoptRef(new MediaConstraintsImpl());
|
| if (!object->initialize(constraints)) {
|
| - ec = TYPE_MISMATCH_ERR;
|
| + ec = TypeMismatchError;
|
| return 0;
|
| }
|
| return object.release();
|
|
|