Index: Source/core/events/ApplicationCacheErrorEvent.h |
diff --git a/Source/core/events/ApplicationCacheErrorEvent.h b/Source/core/events/ApplicationCacheErrorEvent.h |
index bc947d5c7d20e0e1ba4d90b9c3a8aba31dc38ce6..a810d67b1097ac6775db02139e77111ea7fe80df 100644 |
--- a/Source/core/events/ApplicationCacheErrorEvent.h |
+++ b/Source/core/events/ApplicationCacheErrorEvent.h |
@@ -27,19 +27,19 @@ class ApplicationCacheErrorEvent FINAL : public Event { |
public: |
virtual ~ApplicationCacheErrorEvent(); |
- static PassRefPtr<ApplicationCacheErrorEvent> create() |
+ static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create() |
{ |
- return adoptRef(new ApplicationCacheErrorEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new ApplicationCacheErrorEvent); |
} |
- static PassRefPtr<ApplicationCacheErrorEvent> create(blink::WebApplicationCacheHost::ErrorReason reason, const String& url, int status, const String& message) |
+ static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create(blink::WebApplicationCacheHost::ErrorReason reason, const String& url, int status, const String& message) |
{ |
- return adoptRef(new ApplicationCacheErrorEvent(reason, url, status, message)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new ApplicationCacheErrorEvent(reason, url, status, message)); |
} |
- static PassRefPtr<ApplicationCacheErrorEvent> create(const AtomicString& eventType, const ApplicationCacheErrorEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<ApplicationCacheErrorEvent> create(const AtomicString& eventType, const ApplicationCacheErrorEventInit& initializer) |
{ |
- return adoptRef(new ApplicationCacheErrorEvent(eventType, initializer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new ApplicationCacheErrorEvent(eventType, initializer)); |
} |
const String& reason() const { return m_reason; } |
@@ -49,6 +49,8 @@ public: |
virtual const AtomicString& interfaceName() const OVERRIDE { return EventNames::ApplicationCacheErrorEvent; } |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
ApplicationCacheErrorEvent(); |
ApplicationCacheErrorEvent(blink::WebApplicationCacheHost::ErrorReason, const String& url, int status, const String& message); |