Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h |
index 1cb45bff0cd2227d29cec5fd8cad98f87cb070f8..0c0df5f800168614392cf9e74bfe521ff2441d92 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h |
@@ -71,15 +71,19 @@ public: |
const AtomicString& interfaceName() const override; |
void internalsTerminate(); |
+ |
private: |
static ServiceWorker* getOrCreate(ExecutionContext*, PassOwnPtr<WebServiceWorker::Handle>); |
ServiceWorker(ExecutionContext*, PassOwnPtr<WebServiceWorker::Handle>); |
// Inherit from ContextLifecycleObserver. |
bool hasPendingActivity() const override; |
+ void contextDestroyed() override; |
// A handle to the service worker representation in the embedder. |
OwnPtr<WebServiceWorker::Handle> m_handle; |
+ |
+ WebServiceWorkerProvider* m_provider; |
}; |
} // namespace blink |