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