| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index b698359de2bfac80ad6a87880b71b9e082b83002..8b3e5b2279e303728e6257e63827239d4aaaf3b8 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -3735,9 +3735,9 @@ void Document::enqueueResizeEvent()
|
| ensureScriptedAnimationController().enqueuePerFrameEvent(event.release());
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Event> Document::createEvent(const String& eventType, ExceptionState& exceptionState)
|
| +PassRefPtr<Event> Document::createEvent(const String& eventType, ExceptionState& exceptionState)
|
| {
|
| - RefPtrWillBeRawPtr<Event> event = EventFactory::create(eventType);
|
| + RefPtr<Event> event = EventFactory::create(eventType);
|
| if (event)
|
| return event.release();
|
|
|
| @@ -3745,7 +3745,7 @@ PassRefPtrWillBeRawPtr<Event> Document::createEvent(const String& eventType, Exc
|
| return nullptr;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Event> Document::createEvent(ExceptionState& exceptionState)
|
| +PassRefPtr<Event> Document::createEvent(ExceptionState& exceptionState)
|
| {
|
| if (!isSVGDocument()) {
|
| exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, 0));
|
|
|