| Index: third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp b/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp
|
| index e0a0f270f146739bbc556fb16536819044ee341e..4cd320530d50ac75909d3f33a99eb30283926bbc 100644
|
| --- a/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp
|
| @@ -52,8 +52,7 @@ namespace blink {
|
| static void rejectWithTypeError(const String& errorDetails,
|
| ScriptPromiseResolver* resolver) {
|
| // Duplicate some of the checks done by ScriptPromiseResolver.
|
| - if (!resolver->getExecutionContext() ||
|
| - resolver->getExecutionContext()->activeDOMObjectsAreStopped())
|
| + if (!resolver->getExecutionContext())
|
| return;
|
|
|
| ScriptState::Scope scope(resolver->getScriptState());
|
| @@ -122,9 +121,6 @@ ExceptionCode webCryptoErrorToExceptionCode(WebCryptoErrorType errorType) {
|
| CryptoResultImpl::CryptoResultImpl(ScriptState* scriptState)
|
| : m_resolver(Resolver::create(scriptState, this)),
|
| m_cancel(ResultCancel::create()) {
|
| - // Sync cancellation state.
|
| - if (scriptState->getExecutionContext()->activeDOMObjectsAreStopped())
|
| - m_cancel->cancel();
|
| }
|
|
|
| CryptoResultImpl::~CryptoResultImpl() {
|
|
|