| Index: Source/core/events/BeforeLoadEvent.h
|
| diff --git a/Source/core/events/BeforeLoadEvent.h b/Source/core/events/BeforeLoadEvent.h
|
| index bc45513dd36c8189c95c6831a5b92b33fe9b8b3e..f605a7b8cbfbd49cd029ce9fde8af0806b686c36 100644
|
| --- a/Source/core/events/BeforeLoadEvent.h
|
| +++ b/Source/core/events/BeforeLoadEvent.h
|
| @@ -43,19 +43,19 @@ struct BeforeLoadEventInit : public EventInit {
|
|
|
| class BeforeLoadEvent FINAL : public Event {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create()
|
| + static PassRefPtr<BeforeLoadEvent> create()
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new BeforeLoadEvent);
|
| + return adoptRef(new BeforeLoadEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create(const String& url)
|
| + static PassRefPtr<BeforeLoadEvent> create(const String& url)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new BeforeLoadEvent(url));
|
| + return adoptRef(new BeforeLoadEvent(url));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create(const AtomicString& type, const BeforeLoadEventInit& initializer)
|
| + static PassRefPtr<BeforeLoadEvent> create(const AtomicString& type, const BeforeLoadEventInit& initializer)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new BeforeLoadEvent(type, initializer));
|
| + return adoptRef(new BeforeLoadEvent(type, initializer));
|
| }
|
|
|
| const String& url() const { return m_url; }
|
|
|