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

Unified Diff: Source/modules/quota/StorageQuotaClient.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/quota/StorageQuotaClient.cpp
diff --git a/Source/modules/quota/StorageQuotaClient.cpp b/Source/modules/quota/StorageQuotaClient.cpp
index 37634c8dc8d2d290bf0c8af23543da12647c3fe3..475be84d55d66f6261443cdba53abe7e0db124ee 100644
--- a/Source/modules/quota/StorageQuotaClient.cpp
+++ b/Source/modules/quota/StorageQuotaClient.cpp
@@ -43,10 +43,10 @@ const char* StorageQuotaClient::supplementName()
StorageQuotaClient* StorageQuotaClient::from(ExecutionContext* context)
{
- return static_cast<StorageQuotaClient*>(Supplement<Page>::from(toDocument(context)->page(), supplementName()));
+ return static_cast<StorageQuotaClient*>(WillBeHeapSupplement<Page>::from(toDocument(context)->page(), supplementName()));
}
-void provideStorageQuotaClientTo(Page& page, PassOwnPtr<StorageQuotaClient> client)
+void provideStorageQuotaClientTo(Page& page, PassOwnPtrWillBeRawPtr<StorageQuotaClient> client)
{
page.provideSupplement(StorageQuotaClient::supplementName(), client);
}
« no previous file with comments | « Source/modules/quota/StorageQuotaClient.h ('k') | Source/modules/screen_orientation/ScreenOrientationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698