Commit 6de7ecea authored by darin's avatar darin

- 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.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9e508e5a
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.
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment