| Index: third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
|
| diff --git a/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp b/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
|
| index 556ec89dfc668e4869aee20d95e060673f2bbe7f..cdde579ba3fd4a010a609451b1cd3b9b70401400 100644
|
| --- a/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
|
| +++ b/third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp
|
| @@ -102,7 +102,7 @@ ScriptPromise MediaDevices::getUserMedia(ScriptState* scriptState, const MediaSt
|
| MediaErrorState errorState;
|
| UserMediaRequest* request = UserMediaRequest::create(document, userMedia, options, successCallback, errorCallback, errorState);
|
| if (!request) {
|
| - ASSERT(errorState.hadException());
|
| + DCHECK(errorState.hadException());
|
| if (errorState.canGenerateException()) {
|
| errorState.raiseException(exceptionState);
|
| return exceptionState.reject(scriptState);
|
|
|