Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1089)

Unified Diff: third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7094e0d695708bfbbc098b40c815119e994ffdff..557832bb5a77fc8e95aaed0c625a03f8b2552c53 100644
--- a/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp
+++ b/third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp
@@ -71,10 +71,10 @@ class CryptoResultImpl::Resolver final : public ScriptPromiseResolver {
return resolver;
}
- void contextDestroyed() override {
+ void contextDestroyed(ExecutionContext* destroyedContext) override {
m_result->cancel();
m_result = nullptr;
- ScriptPromiseResolver::contextDestroyed();
+ ScriptPromiseResolver::contextDestroyed(destroyedContext);
}
DEFINE_INLINE_VIRTUAL_TRACE() {

Powered by Google App Engine
This is Rietveld 408576698