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

Unified Diff: Source/core/workers/WorkerGlobalScopeProxyProvider.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
« no previous file with comments | « Source/core/workers/WorkerGlobalScopeProxyProvider.h ('k') | Source/core/xml/DocumentXPathEvaluator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerGlobalScopeProxyProvider.cpp
diff --git a/Source/core/workers/WorkerGlobalScopeProxyProvider.cpp b/Source/core/workers/WorkerGlobalScopeProxyProvider.cpp
index 05bd6f180ac629417077744550ef90b0ea8c0296..3364b1cced4ffd9cd82bb384c16b8bc2e28951f3 100644
--- a/Source/core/workers/WorkerGlobalScopeProxyProvider.cpp
+++ b/Source/core/workers/WorkerGlobalScopeProxyProvider.cpp
@@ -35,7 +35,7 @@ namespace WebCore {
WorkerGlobalScopeProxyProvider* WorkerGlobalScopeProxyProvider::from(Page& page)
{
- return static_cast<WorkerGlobalScopeProxyProvider*>(Supplement<Page>::from(page, supplementName()));
+ return static_cast<WorkerGlobalScopeProxyProvider*>(WillBeHeapSupplement<Page>::from(page, supplementName()));
}
const char* WorkerGlobalScopeProxyProvider::supplementName()
@@ -43,9 +43,9 @@ const char* WorkerGlobalScopeProxyProvider::supplementName()
return "WorkerGlobalScopeProxyProvider";
}
-void provideWorkerGlobalScopeProxyProviderTo(Page& page, PassOwnPtr<WorkerGlobalScopeProxyProvider> provider)
+void provideWorkerGlobalScopeProxyProviderTo(Page& page, PassOwnPtrWillBeRawPtr<WorkerGlobalScopeProxyProvider> provider)
{
- Supplement<Page>::provideTo(page, WorkerGlobalScopeProxyProvider::supplementName(), provider);
+ WillBeHeapSupplement<Page>::provideTo(page, WorkerGlobalScopeProxyProvider::supplementName(), provider);
}
} // namespace WebCore
« no previous file with comments | « Source/core/workers/WorkerGlobalScopeProxyProvider.h ('k') | Source/core/xml/DocumentXPathEvaluator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698