| Index: public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| diff --git a/public/web/modules/serviceworker/WebServiceWorkerContextClient.h b/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| index 10a586a2fb0f869cd61bc14a8a100eff2e82fd35..8421a65a98b1a9af5e016dc60c459e536ab9da16 100644
|
| --- a/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| +++ b/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
|
| @@ -79,7 +79,12 @@ public:
|
|
|
| // WorkerGlobalScope is about to be destroyed. The client should clear
|
| // the WebServiceWorkerGlobalScopeProxy when this is called.
|
| - virtual void willDestroyWorkerContext() { }
|
| + virtual void willDestroyWorkerContext(v8::Local<v8::Context> context)
|
| + {
|
| + willDestroyWorkerContext();
|
| + }
|
| + // TODO(kalman): Remove after Chromium-side patch lands.
|
| + virtual void willDestroyWorkerContext() {}
|
|
|
| // WorkerGlobalScope is destroyed and the worker is ready to be terminated.
|
| virtual void workerContextDestroyed() { }
|
|
|