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

Unified Diff: content/browser/shared_worker/shared_worker_service_impl.h

Issue 2249173003: Removes the references to shared workers from the all documents in being deleted frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated nhiroki's comment Created 4 years, 4 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: 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 322817431add2eb001e392163f2795a10bd51b11..c3a44c079c08e04b5e7315d309d376b560e2a0d9 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 process which is associated with |filter_| . And shuts down any
nhiroki 2016/08/17 07:34:06 There is an extra space after |filter|
horo 2016/08/17 07:38:46 Done.
+ // shared workers that are no longer referenced by active documents.
+ void DetachAllDocuments(SharedWorkerMessageFilter* filter);
+
// Checks the worker dependency of renderer processes and calls
// IncrementWorkerRefCount and DecrementWorkerRefCount of
// RenderProcessHostImpl on UI thread if necessary.

Powered by Google App Engine
This is Rietveld 408576698