From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/svg/SVGPathSegLinetoHorizontal.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'Source/WebCore/svg/SVGPathSegLinetoHorizontal.h') 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 -- cgit v1.2.1