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

Unified Diff: Source/modules/storage/StorageNamespace.cpp

Issue 1055133003: Oilpan: have Storage objects reside on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: trivial cl footprint reduction Created 5 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/storage/StorageNamespace.cpp
diff --git a/Source/modules/storage/StorageNamespace.cpp b/Source/modules/storage/StorageNamespace.cpp
index 4725cd4a891a9430942adf4fd0d31b463d62609d..e7ed59eb11b71838c30a3a42410aa7f413bbc474 100644
--- a/Source/modules/storage/StorageNamespace.cpp
+++ b/Source/modules/storage/StorageNamespace.cpp
@@ -44,7 +44,7 @@ StorageNamespace::~StorageNamespace()
{
}
-PassOwnPtrWillBeRawPtr<StorageArea> StorageNamespace::localStorageArea(SecurityOrigin* origin)
+StorageArea* StorageNamespace::localStorageArea(SecurityOrigin* origin)
{
ASSERT(isMainThread());
static WebStorageNamespace* localStorageNamespace = nullptr;
@@ -53,7 +53,7 @@ PassOwnPtrWillBeRawPtr<StorageArea> StorageNamespace::localStorageArea(SecurityO
return StorageArea::create(adoptPtr(localStorageNamespace->createStorageArea(origin->toString())), LocalStorage);
}
-PassOwnPtrWillBeRawPtr<StorageArea> StorageNamespace::storageArea(SecurityOrigin* origin)
+StorageArea* StorageNamespace::storageArea(SecurityOrigin* origin)
{
return StorageArea::create(adoptPtr(m_webStorageNamespace->createStorageArea(origin->toString())), SessionStorage);
}

Powered by Google App Engine
This is Rietveld 408576698