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