diff options
Diffstat (limited to 'Source/WebCore/svg/SVGPathSegCurvetoCubic.h')
-rw-r--r-- | Source/WebCore/svg/SVGPathSegCurvetoCubic.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/WebCore/svg/SVGPathSegCurvetoCubic.h b/Source/WebCore/svg/SVGPathSegCurvetoCubic.h index bf8a40c22..d6b853cf2 100644 --- a/Source/WebCore/svg/SVGPathSegCurvetoCubic.h +++ b/Source/WebCore/svg/SVGPathSegCurvetoCubic.h @@ -18,17 +18,15 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGPathSegCurvetoCubic_h -#define SVGPathSegCurvetoCubic_h +#pragma once -#if ENABLE(SVG) #include "SVGPathSegWithContext.h" namespace WebCore { class SVGPathSegCurvetoCubic : public SVGPathSegWithContext { public: - SVGPathSegCurvetoCubic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) + SVGPathSegCurvetoCubic(const SVGPathElement& element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) : SVGPathSegWithContext(element, role) , m_x(x) , m_y(y) @@ -91,6 +89,3 @@ private: }; } // namespace WebCore - -#endif // ENABLE(SVG) -#endif |