Index: Source/core/events/AutocompleteErrorEvent.h |
diff --git a/Source/core/events/AutocompleteErrorEvent.h b/Source/core/events/AutocompleteErrorEvent.h |
index 26e4456638679b3fe0f2e6f345dc80001a905583..261b2c4dc18bf669bcfdcd73e051ddf081f4eb21 100644 |
--- a/Source/core/events/AutocompleteErrorEvent.h |
+++ b/Source/core/events/AutocompleteErrorEvent.h |
@@ -35,19 +35,19 @@ struct AutocompleteErrorEventInit : public EventInit { |
class AutocompleteErrorEvent FINAL : public Event { |
public: |
- static PassRefPtr<AutocompleteErrorEvent> create() |
+ static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create() |
{ |
- return adoptRef(new AutocompleteErrorEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent); |
} |
- static PassRefPtr<AutocompleteErrorEvent> create(const String& reason) |
+ static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create(const String& reason) |
{ |
- return adoptRef(new AutocompleteErrorEvent(reason)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent(reason)); |
} |
- static PassRefPtr<AutocompleteErrorEvent> create(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer) |
+ static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer) |
{ |
- return adoptRef(new AutocompleteErrorEvent(eventType, initializer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent(eventType, initializer)); |
} |
const String& reason() const { return m_reason; } |