diff options
Diffstat (limited to 'Source/WebCore/svg/SVGPathConsumer.h')
-rw-r--r-- | Source/WebCore/svg/SVGPathConsumer.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/WebCore/svg/SVGPathConsumer.h b/Source/WebCore/svg/SVGPathConsumer.h index 18d3a45d1..9303031b6 100644 --- a/Source/WebCore/svg/SVGPathConsumer.h +++ b/Source/WebCore/svg/SVGPathConsumer.h @@ -2,7 +2,7 @@ * Copyright (C) 2002, 2003 The Karbon Developers * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> - * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. + * Copyright (C) 2007, 2009, 2015 Apple Inc. All rights reserved. * Copyright (C) Research In Motion Limited 2010. All rights reserved. * * This library is free software; you can redistribute it and/or @@ -21,10 +21,8 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGPathConsumer_h -#define SVGPathConsumer_h +#pragma once -#if ENABLE(SVG) #include "FloatPoint.h" #include <wtf/FastMalloc.h> #include <wtf/Noncopyable.h> @@ -47,7 +45,6 @@ public: SVGPathConsumer() { } virtual void incrementPathSegmentCount() = 0; virtual bool continueConsuming() = 0; - virtual void cleanup() = 0; // Used in UnalteredParsing/NormalizedParsing modes. virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode) = 0; @@ -68,6 +65,3 @@ protected: }; } // namespace WebCore - -#endif // ENABLE(SVG) -#endif // SVGPathConsumer_h |