summaryrefslogtreecommitdiff
path: root/Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h')
-rw-r--r--Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h b/Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h
index 6f8d06fdb..99435e0a9 100644
--- a/Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h
+++ b/Source/WebCore/svg/SVGPathSegCurvetoQuadratic.h
@@ -18,17 +18,15 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef SVGPathSegCurvetoQuadratic_h
-#define SVGPathSegCurvetoQuadratic_h
+#pragma once
-#if ENABLE(SVG)
#include "SVGPathSegWithContext.h"
namespace WebCore {
class SVGPathSegCurvetoQuadratic : public SVGPathSegWithContext {
public:
- SVGPathSegCurvetoQuadratic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
+ SVGPathSegCurvetoQuadratic(const SVGPathElement& element, SVGPathSegRole role, float x, float y, float x1, float y1)
: SVGPathSegWithContext(element, role)
, m_x(x)
, m_y(y)
@@ -73,6 +71,3 @@ private:
};
} // namespace WebCore
-
-#endif // ENABLE(SVG)
-#endif