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

Unified Diff: third_party/WebKit/Source/modules/storage/StorageEvent.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/modules/storage/StorageEvent.cpp
diff --git a/third_party/WebKit/Source/modules/storage/StorageEvent.cpp b/third_party/WebKit/Source/modules/storage/StorageEvent.cpp
index f94f0c1c6f8772b8d553be292b2f2e1b5731e779..59ff58e39ce88fce07aa7d8d4a950adde9693921 100644
--- a/third_party/WebKit/Source/modules/storage/StorageEvent.cpp
+++ b/third_party/WebKit/Source/modules/storage/StorageEvent.cpp
@@ -31,7 +31,7 @@
namespace blink {
-PassRefPtrWillBeRawPtr<StorageEvent> StorageEvent::create()
+RawPtr<StorageEvent> StorageEvent::create()
{
return adoptRefWillBeNoop(new StorageEvent);
}
@@ -44,14 +44,14 @@ StorageEvent::~StorageEvent()
{
}
-PassRefPtrWillBeRawPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)
+RawPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)
{
- return adoptRefWillBeNoop(new StorageEvent(type, key, oldValue, newValue, url, storageArea));
+ return new StorageEvent(type, key, oldValue, newValue, url, storageArea);
}
-PassRefPtrWillBeRawPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const StorageEventInit& initializer)
+RawPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const StorageEventInit& initializer)
{
- return adoptRefWillBeNoop(new StorageEvent(type, initializer));
+ return 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