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