Fix non-svg build. (At least hope BuildBot doesn't moan anymore :-)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17989
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-12-03 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed by Mitz.
+
+ Fix non-svg build.
+
+ * platform/graphics/GraphicsContext.h:
+ * platform/mac/GraphicsContextMac.mm:
+
2006-12-02 John Sullivan <sullivan@apple.com>
Reviewed by Tim Omernick
class GraphicsContextPlatformPrivate;
class KURL;
class Path;
- class SVGResourceImage;
class TextRun;
class TextStyle;
};
#ifdef SVG_SUPPORT
+ class SVGResourceImage;
GraphicsContext* contextForImage(SVGResourceImage*);
#endif
CGContextRestoreGState(context);
}
+#ifdef SVG_SUPPORT
GraphicsContext* contextForImage(SVGResourceImage* image)
{
CGLayerRef cgLayer = image->cgLayer();
}
return new GraphicsContext(CGLayerGetContext(cgLayer));
}
+#endif
}