| Index: Source/core/svg/SVGDocument.cpp
|
| diff --git a/Source/core/svg/SVGDocument.cpp b/Source/core/svg/SVGDocument.cpp
|
| index 10ac8e685b6e47d164fe2316b75331324053274f..8f972d2a5b1c71601e0b03a20a4387099dd7d6b4 100644
|
| --- a/Source/core/svg/SVGDocument.cpp
|
| +++ b/Source/core/svg/SVGDocument.cpp
|
| @@ -49,22 +49,6 @@ SVGSVGElement* SVGDocument::rootElement() const
|
| return rootElement(*this);
|
| }
|
|
|
| -void SVGDocument::dispatchZoomEvent(float prevScale, float newScale)
|
| -{
|
| - RefPtrWillBeRawPtr<SVGZoomEvent> event = SVGZoomEvent::create();
|
| - event->initEvent(EventTypeNames::zoom, true, false);
|
| - event->setPreviousScale(prevScale);
|
| - event->setNewScale(newScale);
|
| - rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION);
|
| -}
|
| -
|
| -void SVGDocument::dispatchScrollEvent()
|
| -{
|
| - RefPtrWillBeRawPtr<Event> event = Event::create();
|
| - event->initEvent(EventTypeNames::scroll, true, false);
|
| - rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION);
|
| -}
|
| -
|
| bool SVGDocument::zoomAndPanEnabled() const
|
| {
|
| if (SVGSVGElement* svg = rootElement()) {
|
|
|