| Index: Source/core/svg/SVGDocument.cpp
|
| diff --git a/Source/core/svg/SVGDocument.cpp b/Source/core/svg/SVGDocument.cpp
|
| index a32718fe9014eff4f82c05eca98702579f6106f4..10ac8e685b6e47d164fe2316b75331324053274f 100644
|
| --- a/Source/core/svg/SVGDocument.cpp
|
| +++ b/Source/core/svg/SVGDocument.cpp
|
| @@ -51,7 +51,7 @@ SVGSVGElement* SVGDocument::rootElement() const
|
|
|
| void SVGDocument::dispatchZoomEvent(float prevScale, float newScale)
|
| {
|
| - RefPtr<SVGZoomEvent> event = SVGZoomEvent::create();
|
| + RefPtrWillBeRawPtr<SVGZoomEvent> event = SVGZoomEvent::create();
|
| event->initEvent(EventTypeNames::zoom, true, false);
|
| event->setPreviousScale(prevScale);
|
| event->setNewScale(newScale);
|
| @@ -60,7 +60,7 @@ void SVGDocument::dispatchZoomEvent(float prevScale, float newScale)
|
|
|
| void SVGDocument::dispatchScrollEvent()
|
| {
|
| - RefPtr<Event> event = Event::create();
|
| + RefPtrWillBeRawPtr<Event> event = Event::create();
|
| event->initEvent(EventTypeNames::scroll, true, false);
|
| rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION);
|
| }
|
|
|