diff options
Diffstat (limited to 'Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h')
| -rw-r--r-- | Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h b/Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h index a4cc49885..a5318b60b 100644 --- a/Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h +++ b/Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h @@ -22,19 +22,20 @@ #ifndef SVGPathSegCurvetoQuadraticSmoothAbs_h #define SVGPathSegCurvetoQuadraticSmoothAbs_h +#if ENABLE(SVG) #include "SVGPathSegWithContext.h" namespace WebCore { class SVGPathSegCurvetoQuadraticSmoothAbs : public SVGPathSegSingleCoordinate { public: - static Ref<SVGPathSegCurvetoQuadraticSmoothAbs> create(const SVGPathElement& element, SVGPathSegRole role, float x, float y) + static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) { - return adoptRef(*new SVGPathSegCurvetoQuadraticSmoothAbs(element, role, x, y)); + return adoptRef(new SVGPathSegCurvetoQuadraticSmoothAbs(element, role, x, y)); } private: - SVGPathSegCurvetoQuadraticSmoothAbs(const SVGPathElement& element, SVGPathSegRole role, float x, float y) + SVGPathSegCurvetoQuadraticSmoothAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) : SVGPathSegSingleCoordinate(element, role, x, y) { } @@ -45,4 +46,5 @@ private: } // namespace WebCore +#endif // ENABLE(SVG) #endif |
