Index: Source/core/events/HashChangeEvent.h |
diff --git a/Source/core/events/HashChangeEvent.h b/Source/core/events/HashChangeEvent.h |
index 96be059e785119c4e2acea2282662bb90ba6354d..ee7d77da192283fb69e6e6856039e4099686fcb8 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 PassRefPtrWillBeRawPtr<HashChangeEvent> create() |
+ static PassRefPtr<HashChangeEvent> create() |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HashChangeEvent); |
+ return adoptRef(new HashChangeEvent); |
} |
- static PassRefPtrWillBeRawPtr<HashChangeEvent> create(const String& oldURL, const String& newURL) |
+ static PassRefPtr<HashChangeEvent> create(const String& oldURL, const String& newURL) |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HashChangeEvent(oldURL, newURL)); |
+ return adoptRef(new HashChangeEvent(oldURL, newURL)); |
} |
- static PassRefPtrWillBeRawPtr<HashChangeEvent> create(const AtomicString& type, const HashChangeEventInit& initializer) |
+ static PassRefPtr<HashChangeEvent> create(const AtomicString& type, const HashChangeEventInit& initializer) |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HashChangeEvent(type, initializer)); |
+ return adoptRef(new HashChangeEvent(type, initializer)); |
} |
void initHashChangeEvent(const AtomicString& eventType, bool canBubble, bool cancelable, const String& oldURL, const String& newURL) |