diff options
Diffstat (limited to 'Source/WebCore/svg/SVGPathSegLinetoHorizontal.h')
-rw-r--r-- | Source/WebCore/svg/SVGPathSegLinetoHorizontal.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/WebCore/svg/SVGPathSegLinetoHorizontal.h b/Source/WebCore/svg/SVGPathSegLinetoHorizontal.h index 56a11e419..479845d5d 100644 --- a/Source/WebCore/svg/SVGPathSegLinetoHorizontal.h +++ b/Source/WebCore/svg/SVGPathSegLinetoHorizontal.h @@ -18,17 +18,15 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGPathSegLinetoHorizontal_h -#define SVGPathSegLinetoHorizontal_h +#pragma once -#if ENABLE(SVG) #include "SVGPathSegWithContext.h" namespace WebCore { class SVGPathSegLinetoHorizontal : public SVGPathSegWithContext { public: - SVGPathSegLinetoHorizontal(SVGPathElement* element, SVGPathSegRole role, float x) + SVGPathSegLinetoHorizontal(const SVGPathElement& element, SVGPathSegRole role, float x) : SVGPathSegWithContext(element, role) , m_x(x) { @@ -46,6 +44,3 @@ private: }; } // namespace WebCore - -#endif // ENABLE(SVG) -#endif |