Title: [167798] trunk/Source/WebCore
- Revision
- 167798
- Author
- akl...@apple.com
- Date
- 2014-04-25 02:23:13 -0700 (Fri, 25 Apr 2014)
Log Message
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:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (167797 => 167798)
--- trunk/Source/WebCore/ChangeLog 2014-04-25 08:25:59 UTC (rev 167797)
+++ trunk/Source/WebCore/ChangeLog 2014-04-25 09:23:13 UTC (rev 167798)
@@ -1,3 +1,15 @@
+2014-04-25 Andreas Kling <akl...@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 <ro...@adobe.com>
Incomplete body painting when using blend modes
Modified: trunk/Source/WebCore/svg/SVGDocument.cpp (167797 => 167798)
--- trunk/Source/WebCore/svg/SVGDocument.cpp 2014-04-25 08:25:59 UTC (rev 167797)
+++ trunk/Source/WebCore/svg/SVGDocument.cpp 2014-04-25 09:23:13 UTC (rev 167798)
@@ -48,22 +48,6 @@
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()) {
Modified: trunk/Source/WebCore/svg/SVGDocument.h (167797 => 167798)
--- trunk/Source/WebCore/svg/SVGDocument.h 2014-04-25 08:25:59 UTC (rev 167797)
+++ trunk/Source/WebCore/svg/SVGDocument.h 2014-04-25 09:23:13 UTC (rev 167798)
@@ -39,9 +39,6 @@
SVGSVGElement* rootElement() const;
- void dispatchZoomEvent(float prevScale, float newScale);
- void dispatchScrollEvent();
-
bool zoomAndPanEnabled() const;
void startPan(const FloatPoint& start);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes