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 db5abe99f785dddea7d537f210fffddc322fbe8b..088342232e7cfa1483a8c98b64e8be265f5a6e5e 100644 |
--- a/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp |
+++ b/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp |
@@ -123,7 +123,7 @@ |
: resolver_(Resolver::Create(script_state, this)), |
cancel_(ResultCancel::Create()) { |
// Sync cancellation state. |
- if (script_state->GetExecutionContext()->IsContextDestroyed()) |
+ if (ExecutionContext::From(script_state)->IsContextDestroyed()) |
cancel_->Cancel(); |
} |