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

Unified Diff: Source/modules/storage/StorageArea.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/StorageArea.cpp
diff --git a/Source/modules/storage/StorageArea.cpp b/Source/modules/storage/StorageArea.cpp
index c8be9f14708df8ed125074e8d5805fb6ac2c764b..4b9a45e0cdb5dbc072713992e3728b208484cd04 100644
--- a/Source/modules/storage/StorageArea.cpp
+++ b/Source/modules/storage/StorageArea.cpp
@@ -47,9 +47,9 @@
namespace blink {
-PassOwnPtrWillBeRawPtr<StorageArea> StorageArea::create(PassOwnPtr<WebStorageArea> storageArea, StorageType storageType)
+StorageArea* StorageArea::create(PassOwnPtr<WebStorageArea> storageArea, StorageType storageType)
{
- return adoptPtrWillBeNoop(new StorageArea(storageArea, storageType));
+ return new StorageArea(storageArea, storageType);
}
StorageArea::StorageArea(PassOwnPtr<WebStorageArea> storageArea, StorageType storageType)

Powered by Google App Engine
This is Rietveld 408576698