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

Unified Diff: Source/web/WorkerPermissionClient.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: review comments 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
« Source/web/WorkerPermissionClient.h ('K') | « Source/web/WorkerPermissionClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WorkerPermissionClient.cpp
diff --git a/Source/web/WorkerPermissionClient.cpp b/Source/web/WorkerPermissionClient.cpp
index 27d2bf4da1906e6f490aaf5c67848a9ea774aa8b..60efa9a4b4f96f1f67a20bc312ebe825072c9e31 100644
--- a/Source/web/WorkerPermissionClient.cpp
+++ b/Source/web/WorkerPermissionClient.cpp
@@ -41,9 +41,9 @@ using namespace WebCore;
namespace blink {
-PassOwnPtr<WorkerPermissionClient> WorkerPermissionClient::create(PassOwnPtr<WebWorkerPermissionClientProxy> proxy)
+PassOwnPtrWillBeRawPtr<WorkerPermissionClient> WorkerPermissionClient::create(PassOwnPtr<WebWorkerPermissionClientProxy> proxy)
{
- return adoptPtr(new WorkerPermissionClient(proxy));
+ return adoptPtrWillBeNoop(new WorkerPermissionClient(proxy));
}
WorkerPermissionClient::~WorkerPermissionClient()
@@ -90,7 +90,7 @@ WorkerPermissionClient* WorkerPermissionClient::from(ExecutionContext& context)
{
WorkerClients* clients = toWorkerGlobalScope(context).clients();
ASSERT(clients);
- return static_cast<WorkerPermissionClient*>(Supplement<WorkerClients>::from(*clients, supplementName()));
+ return static_cast<WorkerPermissionClient*>(WillBeHeapSupplement<WorkerClients>::from(*clients, supplementName()));
}
WorkerPermissionClient::WorkerPermissionClient(PassOwnPtr<WebWorkerPermissionClientProxy> proxy)
« Source/web/WorkerPermissionClient.h ('K') | « Source/web/WorkerPermissionClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698