summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/graphics/SVGImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/graphics/SVGImage.h')
-rw-r--r--WebCore/svg/graphics/SVGImage.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/WebCore/svg/graphics/SVGImage.h b/WebCore/svg/graphics/SVGImage.h
index 994cf91..062c0a2 100644
--- a/WebCore/svg/graphics/SVGImage.h
+++ b/WebCore/svg/graphics/SVGImage.h
@@ -39,6 +39,7 @@ namespace WebCore {
class Frame;
class FrameView;
class Page;
+ class SVGImageChromeClient;
class SVGImage : public Image {
public:
@@ -46,7 +47,9 @@ namespace WebCore {
{
return adoptRef(new SVGImage(observer));
}
- ~SVGImage();
+
+ private:
+ virtual ~SVGImage();
virtual void setContainerSize(const IntSize&);
virtual bool usesContainerSize() const;
@@ -59,18 +62,18 @@ namespace WebCore {
// FIXME: SVGImages are underreporting decoded sizes and will be unable
// to prune because these functions are not implemented yet.
- virtual void destroyDecodedData(bool incremental = false, bool preserveNearbyFrames = false) { }
+ virtual void destroyDecodedData(bool) { }
virtual unsigned decodedSize() const { return 0; }
virtual NativeImagePtr frameAtIndex(size_t) { return 0; }
-private:
SVGImage(ImageObserver*);
virtual void draw(GraphicsContext*, const FloatRect& fromRect, const FloatRect& toRect, CompositeOperator);
virtual NativeImagePtr nativeImageForCurrentFrame();
SVGDocument* m_document;
+ OwnPtr<SVGImageChromeClient> m_chromeClient;
OwnPtr<Page> m_page;
RefPtr<Frame> m_frame;
RefPtr<FrameView> m_frameView;