+2014-04-25 Andreas Kling <akling@apple.com>
+
+ Remove two unused SVGDocument functions.
+ <https://webkit.org/b/132178>
+
+ Reviewed by Antti Koivisto.
+
+ * svg/SVGDocument.cpp:
+ (WebCore::SVGDocument::dispatchZoomEvent): Deleted.
+ (WebCore::SVGDocument::dispatchScrollEvent): Deleted.
+ * svg/SVGDocument.h:
+
2014-04-25 Ion Rosca <rosca@adobe.com>
Incomplete body painting when using blend modes
return 0;
}
-void SVGDocument::dispatchZoomEvent(float prevScale, float newScale)
-{
- RefPtr<SVGZoomEvent> event = static_pointer_cast<SVGZoomEvent>(createEvent("SVGZoomEvents", IGNORE_EXCEPTION));
- event->initEvent(eventNames().zoomEvent, true, false);
- event->setPreviousScale(prevScale);
- event->setNewScale(newScale);
- rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION);
-}
-
-void SVGDocument::dispatchScrollEvent()
-{
- RefPtr<Event> event = createEvent("SVGEvents", IGNORE_EXCEPTION);
- event->initEvent(eventNames().scrollEvent, true, false);
- rootElement()->dispatchEvent(event.release(), IGNORE_EXCEPTION);
-}
-
bool SVGDocument::zoomAndPanEnabled() const
{
if (rootElement()) {
SVGSVGElement* rootElement() const;
- void dispatchZoomEvent(float prevScale, float newScale);
- void dispatchScrollEvent();
-
bool zoomAndPanEnabled() const;
void startPan(const FloatPoint& start);