+2006-10-09 Rob Buis <buis@kde.org>
+
+ Reviewed by aroben.
+
+ http://bugs.webkit.org/show_bug.cgi?id=11217
+ Cleanup svg coding style
+
+ Cleanup coding style in svg shape classes.
+
+ * ksvg2/svg/SVGCircleElement.cpp:
+ (WebCore::SVGCircleElement::SVGCircleElement):
+ (WebCore::SVGCircleElement::parseMappedAttribute):
+ (WebCore::SVGCircleElement::pushAttributeContext):
+ * ksvg2/svg/SVGCircleElement.h:
+ (WebCore::SVGCircleElement::rendererIsNeeded):
+ * ksvg2/svg/SVGEllipseElement.cpp:
+ * ksvg2/svg/SVGEllipseElement.h:
+ (WebCore::SVGEllipseElement::rendererIsNeeded):
+ * ksvg2/svg/SVGLineElement.cpp:
+ (WebCore::SVGLineElement::parseMappedAttribute):
+ (WebCore::SVGLineElement::pushAttributeContext):
+ * ksvg2/svg/SVGLineElement.h:
+ (WebCore::SVGLineElement::rendererIsNeeded):
+ * ksvg2/svg/SVGPolyElement.cpp:
+ (WebCore::SVGPolyElement::SVGPolyElement):
+ (WebCore::SVGPolyElement::points):
+ (WebCore::SVGPolyElement::animatedPoints):
+ (WebCore::SVGPolyElement::parseMappedAttribute):
+ (WebCore::SVGPolyElement::notifyAttributeChange):
+ * ksvg2/svg/SVGPolyElement.h:
+ (WebCore::SVGPolyElement::rendererIsNeeded):
+ * ksvg2/svg/SVGPolygonElement.cpp:
+ (WebCore::SVGPolygonElement::SVGPolygonElement):
+ (WebCore::SVGPolygonElement::toPathData):
+ * ksvg2/svg/SVGPolygonElement.h:
+ * ksvg2/svg/SVGPolylineElement.cpp:
+ (WebCore::SVGPolylineElement::SVGPolylineElement):
+ (WebCore::SVGPolylineElement::toPathData):
+ * ksvg2/svg/SVGPolylineElement.h:
+ * ksvg2/svg/SVGRectElement.cpp:
+ (WebCore::SVGRectElement::parseMappedAttribute):
+ (WebCore::SVGRectElement::pushAttributeContext):
+ * ksvg2/svg/SVGRectElement.h:
+ (WebCore::SVGRectElement::rendererIsNeeded):
+
2006-10-08 Darin Adler <darin@apple.com>
Reviewed by Maciej.
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#include "config.h"
#ifdef SVG_SUPPORT
-#include "Attr.h"
+#include "SVGCircleElement.h"
#include "FloatPoint.h"
-
-#include "SVGNames.h"
#include "SVGHelper.h"
-#include "SVGCircleElement.h"
#include "SVGLength.h"
+#include "SVGNames.h"
-using namespace WebCore;
+namespace WebCore {
-SVGCircleElement::SVGCircleElement(const QualifiedName& tagName, Document *doc)
+SVGCircleElement::SVGCircleElement(const QualifiedName& tagName, Document* doc)
: SVGStyledTransformableElement(tagName, doc)
, SVGTests()
, SVGLangSpace()
ANIMATED_PROPERTY_DEFINITIONS(SVGCircleElement, SVGLength*, Length, length, Cy, cy, SVGNames::cyAttr.localName(), m_cy.get())
ANIMATED_PROPERTY_DEFINITIONS(SVGCircleElement, SVGLength*, Length, length, R, r, SVGNames::rAttr.localName(), m_r.get())
-void SVGCircleElement::parseMappedAttribute(MappedAttribute *attr)
+void SVGCircleElement::parseMappedAttribute(MappedAttribute* attr)
{
const AtomicString& value = attr->value();
if (attr->name() == SVGNames::cxAttr)
return Path::createCircle(FloatPoint(_cx, _cy), _r);
}
-const SVGStyledElement *SVGCircleElement::pushAttributeContext(const SVGStyledElement *context)
+const SVGStyledElement* SVGCircleElement::pushAttributeContext(const SVGStyledElement* context)
{
// All attribute's contexts are equal (so just take the one from 'cx').
- const SVGStyledElement *restore = cx()->context();
+ const SVGStyledElement* restore = cx()->context();
cx()->setContext(context);
cy()->setContext(context);
return false;
}
+}
+
// vim:ts=4:noet
#endif // SVG_SUPPORT
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#define KSVG_SVGCircleElementImpl_H
#ifdef SVG_SUPPORT
-#include "SVGTests.h"
+#include "SVGExternalResourcesRequired.h"
#include "SVGLangSpace.h"
#include "SVGStyledTransformableElement.h"
-#include "SVGExternalResourcesRequired.h"
+#include "SVGTests.h"
namespace WebCore
{
class SVGLength;
class SVGCircleElement : public SVGStyledTransformableElement,
- public SVGTests,
- public SVGLangSpace,
- public SVGExternalResourcesRequired
+ public SVGTests,
+ public SVGLangSpace,
+ public SVGExternalResourcesRequired
{
public:
SVGCircleElement(const QualifiedName&, Document*);
virtual bool isValid() const { return SVGTests::isValid(); }
// 'SVGCircleElement' functions
- virtual void parseMappedAttribute(MappedAttribute *attr);
+ virtual void parseMappedAttribute(MappedAttribute* attr);
- virtual bool rendererIsNeeded(RenderStyle *style) { return StyledElement::rendererIsNeeded(style); }
+ virtual bool rendererIsNeeded(RenderStyle* style) { return StyledElement::rendererIsNeeded(style); }
virtual Path toPathData() const;
- virtual const SVGStyledElement *pushAttributeContext(const SVGStyledElement *context);
+ virtual const SVGStyledElement* pushAttributeContext(const SVGStyledElement* context);
protected:
virtual const SVGElement* contextElement() const { return this; }
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#include "config.h"
#ifdef SVG_SUPPORT
-#include "Attr.h"
+#include "SVGEllipseElement.h"
#include "FloatPoint.h"
-
-#include "SVGNames.h"
#include "SVGHelper.h"
-#include "SVGEllipseElement.h"
#include "SVGLength.h"
+#include "SVGNames.h"
namespace WebCore {
-SVGEllipseElement::SVGEllipseElement(const QualifiedName& tagName, Document *doc)
+SVGEllipseElement::SVGEllipseElement(const QualifiedName& tagName, Document* doc)
: SVGStyledTransformableElement(tagName, doc)
, SVGTests()
, SVGLangSpace()
ANIMATED_PROPERTY_DEFINITIONS(SVGEllipseElement, SVGLength*, Length, length, Rx, rx, SVGNames::rxAttr.localName(), m_rx.get())
ANIMATED_PROPERTY_DEFINITIONS(SVGEllipseElement, SVGLength*, Length, length, Ry, ry, SVGNames::ryAttr.localName(), m_ry.get())
-void SVGEllipseElement::parseMappedAttribute(MappedAttribute *attr)
+void SVGEllipseElement::parseMappedAttribute(MappedAttribute* attr)
{
const AtomicString& value = attr->value();
if (attr->name() == SVGNames::cxAttr)
return Path::createEllipse(FloatPoint(_cx, _cy), _rx, _ry);
}
-const SVGStyledElement *SVGEllipseElement::pushAttributeContext(const SVGStyledElement *context)
+const SVGStyledElement* SVGEllipseElement::pushAttributeContext(const SVGStyledElement* context)
{
// All attribute's contexts are equal (so just take the one from 'cx').
- const SVGStyledElement *restore = cx()->context();
+ const SVGStyledElement* restore = cx()->context();
cx()->setContext(context);
cy()->setContext(context);
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#define KSVG_SVGEllipseElementImpl_H
#ifdef SVG_SUPPORT
-#include "SVGTests.h"
+#include "SVGExternalResourcesRequired.h"
#include "SVGLangSpace.h"
#include "SVGStyledTransformableElement.h"
-#include "SVGExternalResourcesRequired.h"
+#include "SVGTests.h"
namespace WebCore
{
class SVGLength;
class SVGEllipseElement : public SVGStyledTransformableElement,
- public SVGTests,
- public SVGLangSpace,
- public SVGExternalResourcesRequired
+ public SVGTests,
+ public SVGLangSpace,
+ public SVGExternalResourcesRequired
{
public:
SVGEllipseElement(const QualifiedName&, Document*);
virtual bool isValid() const { return SVGTests::isValid(); }
// 'SVGEllipseElement' functions
- virtual void parseMappedAttribute(MappedAttribute *attr);
+ virtual void parseMappedAttribute(MappedAttribute* attr);
- virtual bool rendererIsNeeded(RenderStyle *style) { return StyledElement::rendererIsNeeded(style); }
+ virtual bool rendererIsNeeded(RenderStyle* style) { return StyledElement::rendererIsNeeded(style); }
virtual Path toPathData() const;
- virtual const SVGStyledElement *pushAttributeContext(const SVGStyledElement *context);
+ virtual const SVGStyledElement* pushAttributeContext(const SVGStyledElement* context);
protected:
virtual const SVGElement* contextElement() const { return this; }
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#include "config.h"
#ifdef SVG_SUPPORT
-#include "Attr.h"
+#include "SVGLineElement.h"
#include "FloatPoint.h"
-
-#include "SVGNames.h"
#include "SVGHelper.h"
-#include "SVGLineElement.h"
#include "SVGLength.h"
+#include "SVGNames.h"
-using namespace WebCore;
+namespace WebCore {
-SVGLineElement::SVGLineElement(const QualifiedName& tagName, Document *doc)
+SVGLineElement::SVGLineElement(const QualifiedName& tagName, Document* doc)
: SVGStyledTransformableElement(tagName, doc)
, SVGTests()
, SVGLangSpace()
ANIMATED_PROPERTY_DEFINITIONS(SVGLineElement, SVGLength*, Length, length, X2, x2, SVGNames::x2Attr.localName(), m_x2.get())
ANIMATED_PROPERTY_DEFINITIONS(SVGLineElement, SVGLength*, Length, length, Y2, y2, SVGNames::y2Attr.localName(), m_y2.get())
-void SVGLineElement::parseMappedAttribute(MappedAttribute *attr)
+void SVGLineElement::parseMappedAttribute(MappedAttribute* attr)
{
const AtomicString& value = attr->value();
if (attr->name() == SVGNames::x1Attr)
y2BaseValue()->setValueAsString(value);
else
{
- if(SVGTests::parseMappedAttribute(attr)) return;
- if(SVGLangSpace::parseMappedAttribute(attr)) return;
- if(SVGExternalResourcesRequired::parseMappedAttribute(attr)) return;
+ if (SVGTests::parseMappedAttribute(attr)) return;
+ if (SVGLangSpace::parseMappedAttribute(attr)) return;
+ if (SVGExternalResourcesRequired::parseMappedAttribute(attr)) return;
SVGStyledTransformableElement::parseMappedAttribute(attr);
}
}
return Path::createLine(FloatPoint(_x1, _y1), FloatPoint(_x2, _y2));
}
-const SVGStyledElement *SVGLineElement::pushAttributeContext(const SVGStyledElement *context)
+const SVGStyledElement* SVGLineElement::pushAttributeContext(const SVGStyledElement* context)
{
// All attribute's contexts are equal (so just take the one from 'x1').
- const SVGStyledElement *restore = x1()->context();
+ const SVGStyledElement* restore = x1()->context();
x1()->setContext(context);
y1()->setContext(context);
return false;
}
+}
+
// vim:ts=4:noet
#endif // SVG_SUPPORT
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#define KSVG_SVGLineElementImpl_H
#ifdef SVG_SUPPORT
-#include "SVGTests.h"
+#include "SVGExternalResourcesRequired.h"
#include "SVGLangSpace.h"
#include "SVGStyledTransformableElement.h"
-#include "SVGExternalResourcesRequired.h"
+#include "SVGTests.h"
namespace WebCore
{
class SVGLength;
class SVGLineElement : public SVGStyledTransformableElement,
- public SVGTests,
- public SVGLangSpace,
- public SVGExternalResourcesRequired
+ public SVGTests,
+ public SVGLangSpace,
+ public SVGExternalResourcesRequired
{
public:
SVGLineElement(const QualifiedName&, Document*);
virtual bool isValid() const { return SVGTests::isValid(); }
// 'SVGLineElement' functions
- virtual void parseMappedAttribute(MappedAttribute *attr);
+ virtual void parseMappedAttribute(MappedAttribute* attr);
- virtual bool rendererIsNeeded(RenderStyle *style) { return StyledElement::rendererIsNeeded(style); }
+ virtual bool rendererIsNeeded(RenderStyle* style) { return StyledElement::rendererIsNeeded(style); }
virtual Path toPathData() const;
- virtual const SVGStyledElement *pushAttributeContext(const SVGStyledElement *context);
+ virtual const SVGStyledElement* pushAttributeContext(const SVGStyledElement* context);
protected:
virtual const SVGElement* contextElement() const { return this; }
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#ifdef SVG_SUPPORT
#include "SVGPolyElement.h"
-#include "Attr.h"
#include "Document.h"
#include "SVGHelper.h"
#include "SVGNames.h"
#include "SVGPointList.h"
-using namespace WebCore;
+namespace WebCore {
-SVGPolyElement::SVGPolyElement(const QualifiedName& tagName, Document *doc)
-: SVGStyledTransformableElement(tagName, doc), SVGTests(), SVGLangSpace(), SVGExternalResourcesRequired(), SVGAnimatedPoints(), SVGPolyParser()
+SVGPolyElement::SVGPolyElement(const QualifiedName& tagName, Document* doc)
+ : SVGStyledTransformableElement(tagName, doc)
+ , SVGTests()
+ , SVGLangSpace()
+ , SVGExternalResourcesRequired()
+ , SVGAnimatedPoints()
+ , SVGPolyParser()
{
}
{
}
-SVGPointList *SVGPolyElement::points() const
+SVGPointList* SVGPolyElement::points() const
{
return lazy_create<SVGPointList>(m_points);
}
-SVGPointList *SVGPolyElement::animatedPoints() const
+SVGPointList* SVGPolyElement::animatedPoints() const
{
return 0;
}
-void SVGPolyElement::parseMappedAttribute(MappedAttribute *attr)
+void SVGPolyElement::parseMappedAttribute(MappedAttribute* attr)
{
if (attr->name() == SVGNames::pointsAttr) {
ExceptionCode ec = 0;
points()->clear(ec);
parsePoints(attr->value().deprecatedString());
} else {
- if(SVGTests::parseMappedAttribute(attr)) return;
- if(SVGLangSpace::parseMappedAttribute(attr)) return;
- if(SVGExternalResourcesRequired::parseMappedAttribute(attr)) return;
+ if (SVGTests::parseMappedAttribute(attr)) return;
+ if (SVGLangSpace::parseMappedAttribute(attr)) return;
+ if (SVGExternalResourcesRequired::parseMappedAttribute(attr)) return;
SVGStyledTransformableElement::parseMappedAttribute(attr);
}
}
}
String p("points");
- RefPtr<Attr> attr = const_cast<SVGPolyElement *>(this)->getAttributeNode(p.impl());
+ RefPtr<Attr> attr = const_cast<SVGPolyElement*>(this)->getAttributeNode(p.impl());
if (attr) {
ExceptionCode ec = 0;
ignoreNotifications = true; // prevent recursion.
}
}
+}
+
// vim:ts=4:noet
#endif // SVG_SUPPORT
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#define KSVG_SVGPolyElementImpl_H
#ifdef SVG_SUPPORT
-#include "SVGTests.h"
-#include "svgpathparser.h"
-#include "SVGLangSpace.h"
-#include "SVGStyledTransformableElement.h"
#include "SVGAnimatedPoints.h"
#include "SVGExternalResourcesRequired.h"
+#include "SVGLangSpace.h"
+#include "SVGStyledTransformableElement.h"
+#include "SVGTests.h"
+#include "svgpathparser.h"
namespace WebCore
{
class SVGPolyElement : public SVGStyledTransformableElement,
- public SVGTests,
- public SVGLangSpace,
- public SVGExternalResourcesRequired,
- public SVGAnimatedPoints,
- public SVGPolyParser
+ public SVGTests,
+ public SVGLangSpace,
+ public SVGExternalResourcesRequired,
+ public SVGAnimatedPoints,
+ public SVGPolyParser
{
public:
SVGPolyElement(const QualifiedName&, Document*);
virtual bool isValid() const { return SVGTests::isValid(); }
// Derived from: 'SVGAnimatedPoints'
- virtual SVGPointList *points() const;
- virtual SVGPointList *animatedPoints() const;
+ virtual SVGPointList* points() const;
+ virtual SVGPointList* animatedPoints() const;
- virtual void parseMappedAttribute(MappedAttribute *attr);
+ virtual void parseMappedAttribute(MappedAttribute* attr);
- virtual bool rendererIsNeeded(RenderStyle *style) { return StyledElement::rendererIsNeeded(style); }
+ virtual bool rendererIsNeeded(RenderStyle* style) { return StyledElement::rendererIsNeeded(style); }
virtual void notifyAttributeChange() const;
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#include "config.h"
#ifdef SVG_SUPPORT
-#include "SVGPointList.h"
#include "SVGPolygonElement.h"
-#include <kcanvas/device/KRenderingDevice.h>
+#include "SVGPointList.h"
-using namespace WebCore;
+namespace WebCore {
-SVGPolygonElement::SVGPolygonElement(const QualifiedName& tagName, Document *doc)
-: SVGPolyElement(tagName, doc)
+SVGPolygonElement::SVGPolygonElement(const QualifiedName& tagName, Document* doc)
+ : SVGPolyElement(tagName, doc)
{
}
{
Path polyData;
int len = points()->numberOfItems();
- if(len < 1)
+ if (len < 1)
return polyData;
ExceptionCode ec = 0;
return polyData;
}
+}
+
// vim:ts=4:noet
#endif // SVG_SUPPORT
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
namespace WebCore
{
- class SVGPolygonElement : public SVGPolyElement
+ class SVGPolygonElement : public SVGPolyElement
{
public:
SVGPolygonElement(const QualifiedName&, Document*);
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#include "config.h"
#ifdef SVG_SUPPORT
-#include "SVGPointList.h"
#include "SVGPolylineElement.h"
-#include <kcanvas/device/KRenderingDevice.h>
+#include "SVGPointList.h"
-using namespace WebCore;
+namespace WebCore {
-SVGPolylineElement::SVGPolylineElement(const QualifiedName& tagName, Document *doc)
-: SVGPolyElement(tagName, doc)
+SVGPolylineElement::SVGPolylineElement(const QualifiedName& tagName, Document* doc)
+ : SVGPolyElement(tagName, doc)
{
}
{
Path polyData;
int len = points()->numberOfItems();
- if(len < 1)
+ if (len < 1)
return polyData;
ExceptionCode ec = 0;
return polyData;
}
+}
+
// vim:ts=4:noet
#endif // SVG_SUPPORT
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#ifdef SVG_SUPPORT
#include "SVGRectElement.h"
-#include "Attr.h"
-#include "KRenderingDevice.h"
-#include "KRenderingFillPainter.h"
-#include "KRenderingPaintServerSolid.h"
#include "SVGHelper.h"
#include "SVGLength.h"
#include "SVGNames.h"
ANIMATED_PROPERTY_DEFINITIONS(SVGRectElement, SVGLength*, Length, length, Rx, rx, SVGNames::rxAttr.localName(), m_rx.get())
ANIMATED_PROPERTY_DEFINITIONS(SVGRectElement, SVGLength*, Length, length, Ry, ry, SVGNames::ryAttr.localName(), m_ry.get())
-void SVGRectElement::parseMappedAttribute(MappedAttribute *attr)
+void SVGRectElement::parseMappedAttribute(MappedAttribute* attr)
{
const AtomicString& value = attr->value();
if (attr->name() == SVGNames::xAttr)
return Path::createRectangle(rect);
}
-const SVGStyledElement *SVGRectElement::pushAttributeContext(const SVGStyledElement *context)
+const SVGStyledElement* SVGRectElement::pushAttributeContext(const SVGStyledElement* context)
{
// All attribute's contexts are equal (so just take the one from 'x').
- const SVGStyledElement *restore = x()->context();
+ const SVGStyledElement* restore = x()->context();
x()->setContext(context);
y()->setContext(context);
/*
Copyright (C) 2004, 2005 Nikolas Zimmermann <wildfox@kde.org>
- 2004, 2005 Rob Buis <buis@kde.org>
+ 2004, 2005, 2006 Rob Buis <buis@kde.org>
This file is part of the KDE project
#define KSVG_SVGRectElementImpl_H
#ifdef SVG_SUPPORT
-#include "SVGTests.h"
+#include "SVGExternalResourcesRequired.h"
#include "SVGLangSpace.h"
#include "SVGStyledTransformableElement.h"
-#include "SVGExternalResourcesRequired.h"
+#include "SVGTests.h"
namespace WebCore
{
class SVGLength;
class SVGRectElement : public SVGStyledTransformableElement,
- public SVGTests,
- public SVGLangSpace,
- public SVGExternalResourcesRequired
+ public SVGTests,
+ public SVGLangSpace,
+ public SVGExternalResourcesRequired
{
public:
SVGRectElement(const QualifiedName&, Document*);
virtual bool isValid() const { return SVGTests::isValid(); }
// 'SVGRectElement' functions
- virtual void parseMappedAttribute(MappedAttribute *attr);
+ virtual void parseMappedAttribute(MappedAttribute* attr);
- virtual bool rendererIsNeeded(RenderStyle *style) { return StyledElement::rendererIsNeeded(style); }
+ virtual bool rendererIsNeeded(RenderStyle* style) { return StyledElement::rendererIsNeeded(style); }
virtual Path toPathData() const;
- virtual const SVGStyledElement *pushAttributeContext(const SVGStyledElement *context);
+ virtual const SVGStyledElement* pushAttributeContext(const SVGStyledElement* context);
protected:
virtual const SVGElement* contextElement() const { return this; }