diff options
Diffstat (limited to 'WebCore/svg/SVGDocument.h')
-rw-r--r-- | WebCore/svg/SVGDocument.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/svg/SVGDocument.h b/WebCore/svg/SVGDocument.h index c7006f9..02e3649 100644 --- a/WebCore/svg/SVGDocument.h +++ b/WebCore/svg/SVGDocument.h @@ -35,11 +35,13 @@ namespace WebCore { public: static PassRefPtr<SVGDocument> create(Frame* frame) { - return adoptRef(new SVGDocument(frame)); + return new SVGDocument(frame); } virtual ~SVGDocument(); + virtual bool isSVGDocument() const { return true; } + SVGSVGElement* rootElement() const; void dispatchZoomEvent(float prevScale, float newScale); @@ -50,13 +52,11 @@ namespace WebCore { void startPan(const FloatPoint& start); void updatePan(const FloatPoint& pos) const; + virtual bool childShouldCreateRenderer(Node*) const; + private: SVGDocument(Frame*); - virtual bool isSVGDocument() const { return true; } - - virtual bool childShouldCreateRenderer(Node*) const; - FloatPoint m_translate; }; |