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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainerClient.h

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: using namespace WebCore Created 6 years, 8 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: Source/modules/serviceworkers/ServiceWorkerContainerClient.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainerClient.h b/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
index f566b7126b57d37b68b1150df9f3feb48d0c425d..4979f13ac6b1c1e4034310dada9fba353bcfb149 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainerClient.h
@@ -20,11 +20,13 @@ class ExecutionContext;
// This mainly exists to provide access to WebServiceWorkerProvider.
// Owned by Document (or WorkerClients).
class ServiceWorkerContainerClient FINAL :
+ public NoBaseWillBeGarbageCollectedFinalized<ServiceWorkerContainerClient>,
public DocumentSupplement,
- public Supplement<WorkerClients> {
+ public WillBeHeapSupplement<WorkerClients> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerContainerClient);
WTF_MAKE_NONCOPYABLE(ServiceWorkerContainerClient);
public:
- static PassOwnPtr<ServiceWorkerContainerClient> create(PassOwnPtr<blink::WebServiceWorkerProvider>);
+ static PassOwnPtrWillBeRawPtr<ServiceWorkerContainerClient> create(PassOwnPtr<blink::WebServiceWorkerProvider>);
virtual ~ServiceWorkerContainerClient();
blink::WebServiceWorkerProvider* provider() { return m_provider.get(); }

Powered by Google App Engine
This is Rietveld 408576698