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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp

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/ServiceWorkerGlobalScopeClient.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp
index 4a237280aab03d930a59fe0d7038711dd32f223b..c38ef596e8e09dd6dcc70a3e463f444bd973f854 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp
@@ -43,10 +43,10 @@ const char* ServiceWorkerGlobalScopeClient::supplementName()
ServiceWorkerGlobalScopeClient* ServiceWorkerGlobalScopeClient::from(ExecutionContext* context)
{
- return static_cast<ServiceWorkerGlobalScopeClient*>(Supplement<WorkerClients>::from(toWorkerGlobalScope(context)->clients(), supplementName()));
+ return static_cast<ServiceWorkerGlobalScopeClient*>(WillBeHeapSupplement<WorkerClients>::from(toWorkerGlobalScope(context)->clients(), supplementName()));
}
-void provideServiceWorkerGlobalScopeClientToWorker(WorkerClients* clients, PassOwnPtr<ServiceWorkerGlobalScopeClient> client)
+void provideServiceWorkerGlobalScopeClientToWorker(WorkerClients* clients, PassOwnPtrWillBeRawPtr<ServiceWorkerGlobalScopeClient> client)
{
clients->provideSupplement(ServiceWorkerGlobalScopeClient::supplementName(), client);
}
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h ('k') | Source/modules/speech/SpeechRecognitionController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698