CMake is too slow to make it the default build for us. This
[WebKit-https.git] / WebCore / platform / graphics / qt / GraphicsContextQt.cpp
index 921e85a..1fa1d32 100644 (file)
@@ -38,6 +38,7 @@
 #include "GraphicsContext.h"
 #include "Font.h"
 #include "Pen.h"
+#include "SVGResourceImage.h"
 
 #include <QStack>
 #include <QPainter>
@@ -850,11 +851,13 @@ void GraphicsContext::setPlatformFillColor(const Color& color)
     m_data->p().setBrush(QBrush(color));
 }
 
+#ifdef SVG_SUPPORT
 GraphicsContext* contextForImage(SVGResourceImage*)
 {
     // FIXME!
     return 0;
 }
+#endif
 
 }
 // vim: ts=4 sw=4 et