- quick attempt to fix the no-SVG build
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Nov 2006 06:05:51 +0000 (06:05 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Nov 2006 06:05:51 +0000 (06:05 +0000)
        * platform/graphics/svg/SVGResource.cpp:
        * platform/graphics/svg/SVGResource.h:
        * platform/graphics/svg/SVGResourceClipper.cpp:
        * platform/graphics/svg/SVGResourceClipper.h:
        * platform/graphics/svg/SVGResourceImage.h:
        * platform/graphics/svg/SVGResourceMarker.cpp:
        * platform/graphics/svg/SVGResourceMarker.h:
        * platform/graphics/svg/SVGResourceMasker.cpp:
        * platform/graphics/svg/SVGResourceMasker.h:
        * platform/graphics/svg/cg/SVGResourceMaskerCg.h:
        * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
        * platform/graphics/svg/qt/SVGResourceImageQt.cpp:
        * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
        Added #ifdef SVG_SUPPORT to these files.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17609 268f45cc-cd09-0410-ab3c-d52691b4dbfc

14 files changed:
WebCore/ChangeLog
WebCore/platform/graphics/svg/SVGResource.cpp
WebCore/platform/graphics/svg/SVGResource.h
WebCore/platform/graphics/svg/SVGResourceClipper.cpp
WebCore/platform/graphics/svg/SVGResourceClipper.h
WebCore/platform/graphics/svg/SVGResourceImage.h
WebCore/platform/graphics/svg/SVGResourceMarker.cpp
WebCore/platform/graphics/svg/SVGResourceMarker.h
WebCore/platform/graphics/svg/SVGResourceMasker.cpp
WebCore/platform/graphics/svg/SVGResourceMasker.h
WebCore/platform/graphics/svg/cg/SVGResourceMaskerCg.h
WebCore/platform/graphics/svg/qt/SVGResourceClipperQt.cpp
WebCore/platform/graphics/svg/qt/SVGResourceImageQt.cpp
WebCore/platform/graphics/svg/qt/SVGResourceMaskerQt.cpp

index 5a631eada5785a6d6c30cc07593d82a515af4c50..806a211540f63b496eeefdec83d2342722789ded 100644 (file)
@@ -1,3 +1,22 @@
+2006-11-05  Darin Adler  <darin@apple.com>
+
+        - quick attempt to fix the no-SVG build
+
+        * platform/graphics/svg/SVGResource.cpp:
+        * platform/graphics/svg/SVGResource.h:
+        * platform/graphics/svg/SVGResourceClipper.cpp:
+        * platform/graphics/svg/SVGResourceClipper.h:
+        * platform/graphics/svg/SVGResourceImage.h:
+        * platform/graphics/svg/SVGResourceMarker.cpp:
+        * platform/graphics/svg/SVGResourceMarker.h:
+        * platform/graphics/svg/SVGResourceMasker.cpp:
+        * platform/graphics/svg/SVGResourceMasker.h:
+        * platform/graphics/svg/cg/SVGResourceMaskerCg.h:
+        * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
+        * platform/graphics/svg/qt/SVGResourceImageQt.cpp:
+        * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
+        Added #ifdef SVG_SUPPORT to these files.
+
 2006-11-05  MorganL  <morganl.webkit@yahoo.com>
 
         Reviewed & landed by Maciej.
index 0e9a5b5afb3cc059e5f838883de8df772af02ed5..ef022f67f9d2869cacb52121bc3e5b7e825d55a1 100644 (file)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "SVGResource.h"
 
+#ifdef SVG_SUPPORT
+
 #include "KRenderingPaintServer.h"
 #include "RenderPath.h"
 #include "SVGElement.h"
@@ -108,3 +110,5 @@ TextStream& operator<<(TextStream& ts, const SVGResource& r)
 }
 
 } // namespace WebCore
+
+#endif
index 721077c4d09d18091553b88e93e76453f1109061..ebac275b3ff1876cd5f5f27b12f4b5fd46fd293b 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef SVGResource_H
 #define SVGResource_H
 
+#ifdef SVG_SUPPORT
+
 #include "Shared.h"
 #include "PlatformString.h"
 #include "DeprecatedValueList.h"
@@ -100,4 +102,6 @@ namespace WebCore {
 
 } // namespace WebCore
 
+#endif
+
 #endif // SVGResource_H
index e65b008e85407af3e76043fc9ef595bd821e5dae..ebb36fd901322941fcf29a919ca89c8e60a62d4d 100644 (file)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "SVGResourceClipper.h"
 
+#ifdef SVG_SUPPORT
+
 #include "SVGRenderTreeAsText.h"
 #include "TextStream.h"
 
@@ -95,3 +97,5 @@ SVGResourceClipper* getClipperById(Document* document, const AtomicString& id)
 }
 
 } // namespace WebCore
+
+#endif
index 07f6712e5fb0f48d8ebfba3d5d448f20434514f2..fdacbdd68247afe7716aafd4bdb356ab82ddc0ba 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef SVGResourceClipper_H
 #define SVGResourceClipper_H
 
+#ifdef SVG_SUPPORT
+
 #include "SVGResource.h"
 #include "Path.h"
 
@@ -79,4 +81,6 @@ namespace WebCore {
 
 } // namespace WebCore
 
+#endif
+
 #endif // SVGResourceClipper_H
index 59dd6c023943aee82d2a69a438543e7b9302d8a3..9ea9575c472f2f3baf5ca1bee018ad6438d34658 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef SVGResourceImage_H
 #define SVGResourceImage_H
 
+#ifdef SVG_SUPPORT
+
 #include "IntSize.h"
 #include "SVGResource.h"
 
@@ -65,4 +67,6 @@ namespace WebCore {
 
 } // namespace WebCore
 
+#endif
+
 #endif // SVGResourceImage_H
index 88f9bb08c4a898aed8477fba57285c06e4e0cf9c..2eea7a30f7f611306644314b139f5dfd53f2b70f 100644 (file)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "SVGResourceMarker.h"
 
+#ifdef SVG_SUPPORT
+
 #include "AffineTransform.h"
 #include "GraphicsContext.h"
 #include "RenderSVGContainer.h"
@@ -117,3 +119,5 @@ SVGResourceMarker* getMarkerById(Document* document, const AtomicString& id)
 }
 
 } // namespace WebCore
+
+#endif
index 1b452c85e9a40c908c1cc0b2bf969ded073383b1..b96148e6f9d54df30aedf59c2962e44f6f87b39a 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef SVGResourceMarker_H
 #define SVGResourceMarker_H
 
+#ifdef SVG_SUPPORT
+
 #include "SVGResource.h"
 
 namespace WebCore {
@@ -68,4 +70,6 @@ namespace WebCore {
 
 } // namespace WebCore
 
+#endif
+
 #endif // SVGResourceMarker_H
index 63e067baba41d80f10277087ad5e533041aba33c..12d85f4f8f610fee91d5d2b04bb07784b7f38679 100644 (file)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "SVGResourceMasker.h"
 
+#ifdef SVG_SUPPORT
+
 #include "TextStream.h"
 #include "SVGResourceImage.h"
 
@@ -66,3 +68,5 @@ SVGResourceMasker* getMaskerById(Document* document, const AtomicString& id)
 }
 
 } // namespace WebCore
+
+#endif
index 1c4f839b9572a1ca68601a59caaa5ccf18f637ad..8e18f59b0c1d7b8e18dd1fcc0ac41069d84fb744 100644 (file)
@@ -26,6 +26,8 @@
 #ifndef SVGResourceMasker_H
 #define SVGResourceMasker_H
 
+#ifdef SVG_SUPPORT
+
 #include "SVGResource.h"
 
 namespace WebCore {
@@ -55,4 +57,6 @@ namespace WebCore {
 
 } // namespace WebCore
 
+#endif
+
 #endif // SVGResourceMasker_H
index 4f7914b01e54fb7614c60f8c215d9c8796a0c806..8a0f35f603c36951feb07452d9f4dd4ee63b43e2 100644 (file)
@@ -24,6 +24,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
+#ifdef SVG_SUPPORT
+
 #include "KCanvasMasker.h"
 #include "KCanvasImage.h"
 
@@ -37,3 +39,5 @@ public:
 };
 
 }
+
+#endif
index e5a71b8d3be1b6b60d412dd96a449a63d82b64ef..8c3253d68515adf7e32a349f2bfea6d3aceaeb95 100644 (file)
@@ -24,6 +24,8 @@
 #include "config.h"
 #include "SVGResourceClipper.h"
 
+#ifdef SVG_SUPPORT
+
 #include "KRenderingDeviceQt.h"
 
 namespace WebCore {
@@ -115,4 +117,6 @@ void SVGResourceClipper::applyClip(const FloatRect& boundingBox) const
 
 } // namespace WebCore
 
+#endif
+
 // vim:ts=4:noet
index 3fcdbe394e8f35d121add93df23379ff25521cd2..1d919e2ca79c3098d68116a6f9ce0e06bc8b792f 100644 (file)
@@ -22,6 +22,8 @@
 #include "config.h"
 #include "SVGResourceImage.h"
 
+#ifdef SVG_SUPPORT
+
 #include "IntSize.h"
 
 namespace WebCore {
@@ -46,4 +48,6 @@ IntSize SVGResourceImage::size() const
 
 } // namespace WebCore
 
+#endif
+
 // vim:ts=4:noet
index 5724a3370b50ad25dc2711c20949c7c865af1c58..f56ac96ec3a321f1633f4fa4ef6634a035003f6d 100644 (file)
@@ -22,6 +22,8 @@
 #include "config.h"
 #include "SVGResourceMasker.h"
 
+#ifdef SVG_SUPPORT
+
 namespace WebCore {
 
 void SVGResourceMasker::applyMask(const FloatRect& boundingBox) const
@@ -31,4 +33,6 @@ void SVGResourceMasker::applyMask(const FloatRect& boundingBox) const
 
 } // namespace WebCore
 
+#endif
+
 // vim:ts=4:noet