| Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
|
| index fa01f5fbc4fbf61a5822e3189056013210ad8edb..05cb4bb97c85652a2629a6856b46f668163c531b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
|
| @@ -113,10 +113,14 @@ void ScriptPromisePropertyBase::resolveOrRejectInternal(v8::Local<v8::Promise::R
|
| ASSERT_NOT_REACHED();
|
| break;
|
| case Resolved:
|
| - resolver->Resolve(context, resolvedValue(m_isolate, context->Global()));
|
| + if (resolver->Resolve(context, resolvedValue(m_isolate, context->Global())).IsNothing()) {
|
| + // TODO: What action, if any, should be taken here?
|
| + }
|
| break;
|
| case Rejected:
|
| - resolver->Reject(context, rejectedValue(m_isolate, context->Global()));
|
| + if (resolver->Reject(context, rejectedValue(m_isolate, context->Global())).IsNothing()) {
|
| + // TODO: What action, if any, should be taken here?
|
| + }
|
| break;
|
| }
|
| }
|
|
|