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

Unified Diff: Source/core/storage/StorageEvent.cpp

Issue 185393006: Revert "Add [WillBeGarbageCollected] to Event.idl" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/core/storage/StorageEvent.cpp
diff --git a/Source/core/storage/StorageEvent.cpp b/Source/core/storage/StorageEvent.cpp
index 9aa4ae7120dee97728690af6640b87074d01250d..ddcd7d831a57d4680d0c136d0a2ef48bfb4d4263 100644
--- a/Source/core/storage/StorageEvent.cpp
+++ b/Source/core/storage/StorageEvent.cpp
@@ -35,9 +35,9 @@ StorageEventInit::StorageEventInit()
{
}
-PassRefPtrWillBeRawPtr<StorageEvent> StorageEvent::create()
+PassRefPtr<StorageEvent> StorageEvent::create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new StorageEvent);
+ return adoptRef(new StorageEvent);
}
StorageEvent::StorageEvent()
@@ -49,14 +49,14 @@ StorageEvent::~StorageEvent()
{
}
-PassRefPtrWillBeRawPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)
+PassRefPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)
{
- return adoptRefWillBeRefCountedGarbageCollected(new StorageEvent(type, key, oldValue, newValue, url, storageArea));
+ return adoptRef(new StorageEvent(type, key, oldValue, newValue, url, storageArea));
}
-PassRefPtrWillBeRawPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const StorageEventInit& initializer)
+PassRefPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const StorageEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new StorageEvent(type, initializer));
+ return adoptRef(new StorageEvent(type, initializer));
}
StorageEvent::StorageEvent(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)

Powered by Google App Engine
This is Rietveld 408576698