Index: Source/core/events/ProgressEvent.h |
diff --git a/Source/core/events/ProgressEvent.h b/Source/core/events/ProgressEvent.h |
index 337a9a89c4d37386ea3ddb2b899abff2b7462f53..a69945d104c5b1ed4a2ea93961f3de0bf76ba00f 100644 |
--- a/Source/core/events/ProgressEvent.h |
+++ b/Source/core/events/ProgressEvent.h |
@@ -40,17 +40,17 @@ struct ProgressEventInit : public EventInit { |
class ProgressEvent : public Event { |
public: |
- static PassRefPtr<ProgressEvent> create() |
+ static PassRefPtrWillBeRawPtr<ProgressEvent> create() |
{ |
- return adoptRef(new ProgressEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new ProgressEvent); |
} |
- static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) |
+ static PassRefPtrWillBeRawPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) |
{ |
- return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new ProgressEvent(type, lengthComputable, loaded, total)); |
} |
- static PassRefPtr<ProgressEvent> create(const AtomicString& type, const ProgressEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<ProgressEvent> create(const AtomicString& type, const ProgressEventInit& initializer) |
{ |
- return adoptRef(new ProgressEvent(type, initializer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new ProgressEvent(type, initializer)); |
} |
bool lengthComputable() const { return m_lengthComputable; } |