| Index: Source/core/events/HashChangeEvent.h
|
| diff --git a/Source/core/events/HashChangeEvent.h b/Source/core/events/HashChangeEvent.h
|
| index ee7d77da192283fb69e6e6856039e4099686fcb8..19017a10c0a5c4beb2c0c32131bdb09832c901de 100644
|
| --- a/Source/core/events/HashChangeEvent.h
|
| +++ b/Source/core/events/HashChangeEvent.h
|
| @@ -37,19 +37,19 @@ struct HashChangeEventInit : public EventInit {
|
|
|
| class HashChangeEvent FINAL : public Event {
|
| public:
|
| - static PassRefPtr<HashChangeEvent> create()
|
| + static PassRefPtrWillBeRawPtr<HashChangeEvent> create()
|
| {
|
| - return adoptRef(new HashChangeEvent);
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new HashChangeEvent);
|
| }
|
|
|
| - static PassRefPtr<HashChangeEvent> create(const String& oldURL, const String& newURL)
|
| + static PassRefPtrWillBeRawPtr<HashChangeEvent> create(const String& oldURL, const String& newURL)
|
| {
|
| - return adoptRef(new HashChangeEvent(oldURL, newURL));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new HashChangeEvent(oldURL, newURL));
|
| }
|
|
|
| - static PassRefPtr<HashChangeEvent> create(const AtomicString& type, const HashChangeEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<HashChangeEvent> create(const AtomicString& type, const HashChangeEventInit& initializer)
|
| {
|
| - return adoptRef(new HashChangeEvent(type, initializer));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new HashChangeEvent(type, initializer));
|
| }
|
|
|
| void initHashChangeEvent(const AtomicString& eventType, bool canBubble, bool cancelable, const String& oldURL, const String& newURL)
|
|
|