| Index: content/browser/shared_worker/shared_worker_service_impl.h
|
| diff --git a/content/browser/shared_worker/shared_worker_service_impl.h b/content/browser/shared_worker/shared_worker_service_impl.h
|
| index 3c36f638e0afac12b9fbee246dab56f125da5f49..2a1b8a01d698d547dce245756de1c35e33074f0a 100644
|
| --- a/content/browser/shared_worker/shared_worker_service_impl.h
|
| +++ b/content/browser/shared_worker/shared_worker_service_impl.h
|
| @@ -86,6 +86,11 @@ class CONTENT_EXPORT SharedWorkerServiceImpl
|
| void OnSharedWorkerMessageFilterClosing(
|
| SharedWorkerMessageFilter* filter);
|
|
|
| + // Removes the references to shared workers from the all documents in the
|
| + // renderer frame. And shuts down any shared workers that are no longer
|
| + // referenced by active documents.
|
| + void RenderFrameDetached(int render_process_id, int render_frame_id);
|
| +
|
| // Checks the worker dependency of renderer processes and calls
|
| // IncrementWorkerRefCount and DecrementWorkerRefCount of
|
| // RenderProcessHostImpl on UI thread if necessary.
|
|
|