| Index: third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
|
| index 06d029598a2779cb06b87609d5fd300f8e45004a..8dd136eb1b8080b56f12bf40846bad5a6986f1bb 100644
|
| --- a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp
|
| @@ -18,7 +18,7 @@ PromiseRejectionEvent::PromiseRejectionEvent(ScriptState* state, const AtomicStr
|
| , m_scriptState(state)
|
| {
|
| ThreadState::current()->registerPreFinalizer(this);
|
| - ASSERT(initializer.hasPromise());
|
| + DCHECK(initializer.hasPromise());
|
| m_promise.set(initializer.promise().isolate(), initializer.promise().v8Value());
|
| m_promise.setPhantom();
|
| if (initializer.hasReason()) {
|
|
|