[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
eric at webkit.org
eric at webkit.org
Tue Jan 5 23:41:56 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 999910cf128c2538e4f4a3bfaa880cf2bd2c0d38
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Dec 3 21:37:26 2009 +0000
2009-12-03 İsmail Dönmez <ismail at namtrac.org>
Reviewed by Eric Seidel.
Fix compilation when SVG is disabled.
* Api/qwebframe.cpp:
(qt_drt_pauseSVGAnimation):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/qt/Api/qwebframe.cpp b/WebKit/qt/Api/qwebframe.cpp
index 0b4d16a..ec5debf 100644
--- a/WebKit/qt/Api/qwebframe.cpp
+++ b/WebKit/qt/Api/qwebframe.cpp
@@ -153,6 +153,9 @@ bool QWEBKIT_EXPORT qt_drt_pauseTransitionOfProperty(QWebFrame *qframe, const QS
// This method is only intended to be used for testing the SVG animation system.
bool QWEBKIT_EXPORT qt_drt_pauseSVGAnimation(QWebFrame *qframe, const QString &animationId, double time, const QString &elementId)
{
+#if !ENABLE(SVG)
+ return false;
+#else
Frame* frame = QWebFramePrivate::core(qframe);
if (!frame)
return false;
@@ -167,10 +170,7 @@ bool QWEBKIT_EXPORT qt_drt_pauseSVGAnimation(QWebFrame *qframe, const QString &a
if (!coreNode || !SVGSMILElement::isSMILElement(coreNode))
return false;
-#if ENABLE(SVG)
return doc->accessSVGExtensions()->sampleAnimationAtTime(elementId, static_cast<SVGSMILElement*>(coreNode), time);
-#else
- return false;
#endif
}
diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog
index e40a74b..cc1dc4b 100644
--- a/WebKit/qt/ChangeLog
+++ b/WebKit/qt/ChangeLog
@@ -1,3 +1,12 @@
+2009-12-03 İsmail Dönmez <ismail at namtrac.org>
+
+ Reviewed by Eric Seidel.
+
+ Fix compilation when SVG is disabled.
+
+ * Api/qwebframe.cpp:
+ (qt_drt_pauseSVGAnimation):
+
2009-12-03 Brady Eidson <beidson at apple.com>
Reviewed by Sam Weinig.
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list