| Index: Source/core/events/BeforeLoadEvent.h
|
| diff --git a/Source/core/events/BeforeLoadEvent.h b/Source/core/events/BeforeLoadEvent.h
|
| index f605a7b8cbfbd49cd029ce9fde8af0806b686c36..00cbec95933305112d1fed43e44d40528f827415 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 PassRefPtr<BeforeLoadEvent> create()
|
| + static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create()
|
| {
|
| - return adoptRef(new BeforeLoadEvent);
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new BeforeLoadEvent);
|
| }
|
|
|
| - static PassRefPtr<BeforeLoadEvent> create(const String& url)
|
| + static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create(const String& url)
|
| {
|
| - return adoptRef(new BeforeLoadEvent(url));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new BeforeLoadEvent(url));
|
| }
|
|
|
| - static PassRefPtr<BeforeLoadEvent> create(const AtomicString& type, const BeforeLoadEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<BeforeLoadEvent> create(const AtomicString& type, const BeforeLoadEventInit& initializer)
|
| {
|
| - return adoptRef(new BeforeLoadEvent(type, initializer));
|
| + return adoptRefCountedWillBeRefCountedGarbageCollected(new BeforeLoadEvent(type, initializer));
|
| }
|
|
|
| const String& url() const { return m_url; }
|
|
|