Index: Source/modules/indexeddb/IDBVersionChangeEvent.h |
diff --git a/Source/modules/indexeddb/IDBVersionChangeEvent.h b/Source/modules/indexeddb/IDBVersionChangeEvent.h |
index 5ef44491211cd39a6ba6026446dd510b6ad853bf..96181512ec903a635ea30b8016a76c52c0d381ce 100644 |
--- a/Source/modules/indexeddb/IDBVersionChangeEvent.h |
+++ b/Source/modules/indexeddb/IDBVersionChangeEvent.h |
@@ -47,17 +47,17 @@ struct IDBVersionChangeEventInit : public EventInit { |
class IDBVersionChangeEvent FINAL : public Event { |
public: |
- static PassRefPtr<IDBVersionChangeEvent> create() |
+ static PassRefPtrWillBeRawPtr<IDBVersionChangeEvent> create() |
{ |
- return adoptRef(new IDBVersionChangeEvent()); |
+ return adoptRefWillBeRefCountedGarbageCollected(new IDBVersionChangeEvent()); |
} |
- static PassRefPtr<IDBVersionChangeEvent> create(const AtomicString& eventType, unsigned long long oldVersion, const Nullable<unsigned long long>& newVersion, blink::WebIDBDataLoss dataLoss = blink::WebIDBDataLossNone, const String& dataLossMessage = String()) |
+ static PassRefPtrWillBeRawPtr<IDBVersionChangeEvent> create(const AtomicString& eventType, unsigned long long oldVersion, const Nullable<unsigned long long>& newVersion, blink::WebIDBDataLoss dataLoss = blink::WebIDBDataLossNone, const String& dataLossMessage = String()) |
{ |
- return adoptRef(new IDBVersionChangeEvent(eventType, oldVersion, newVersion, dataLoss, dataLossMessage)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new IDBVersionChangeEvent(eventType, oldVersion, newVersion, dataLoss, dataLossMessage)); |
} |
- static PassRefPtr<IDBVersionChangeEvent> create(const AtomicString& eventType, const IDBVersionChangeEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<IDBVersionChangeEvent> create(const AtomicString& eventType, const IDBVersionChangeEventInit& initializer) |
{ |
- return adoptRef(new IDBVersionChangeEvent(eventType, initializer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new IDBVersionChangeEvent(eventType, initializer)); |
} |
unsigned long long oldVersion() const { return m_oldVersion; } |