Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.h |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.h |
index b912d7cb6aea7f743bc4cf934d6f9665e75c3cc2..b1a3853d08e4dedb988c4533302869df92acf477 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.h |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.h |
@@ -65,8 +65,6 @@ public: |
static ServiceWorkerContainer* create(ExecutionContext*); |
~ServiceWorkerContainer(); |
- void willBeDetachedFromFrame(); |
- |
DECLARE_VIRTUAL_TRACE(); |
ServiceWorker* controller() { return m_controller; } |
@@ -79,6 +77,8 @@ public: |
ScriptPromise getRegistration(ScriptState*, const String& documentURL); |
ScriptPromise getRegistrations(ScriptState*); |
+ void contextDestroyed() override; |
+ |
// WebServiceWorkerProviderClient overrides. |
void setController(std::unique_ptr<WebServiceWorker::Handle>, bool shouldNotifyControllerChange) override; |
void dispatchMessageEvent(std::unique_ptr<WebServiceWorker::Handle>, const WebString& message, const WebMessagePortChannelArray&) override; |