Index: Source/core/svg/SVGPathBuilder.h |
diff --git a/Source/core/svg/SVGPathBuilder.h b/Source/core/svg/SVGPathBuilder.h |
index 0c6a15d4aee5804e70747d619a98de108f44c0c8..76798910e6daa3ebe3add0efe82b5a521d997854 100644 |
--- a/Source/core/svg/SVGPathBuilder.h |
+++ b/Source/core/svg/SVGPathBuilder.h |
@@ -31,30 +31,30 @@ namespace WebCore { |
class Path; |
-class SVGPathBuilder : public SVGPathConsumer { |
+class SVGPathBuilder FINAL : public SVGPathConsumer { |
public: |
SVGPathBuilder(); |
void setCurrentPath(Path* path) { m_path = path; } |
private: |
- virtual void incrementPathSegmentCount() { } |
- virtual bool continueConsuming() { return true; } |
- virtual void cleanup() { m_path = 0; } |
+ virtual void incrementPathSegmentCount() OVERRIDE { } |
+ virtual bool continueConsuming() OVERRIDE { return true; } |
+ virtual void cleanup() OVERRIDE { m_path = 0; } |
// Used in UnalteredParsing/NormalizedParsing modes. |
- virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode); |
- virtual void lineTo(const FloatPoint&, PathCoordinateMode); |
- virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode); |
- virtual void closePath(); |
+ virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode) OVERRIDE; |
+ virtual void lineTo(const FloatPoint&, PathCoordinateMode) OVERRIDE; |
+ virtual void curveToCubic(const FloatPoint&, const FloatPoint&, const FloatPoint&, PathCoordinateMode) OVERRIDE; |
+ virtual void closePath() OVERRIDE; |
// Only used in UnalteredParsing mode. |
- virtual void lineToHorizontal(float, PathCoordinateMode) { ASSERT_NOT_REACHED(); } |
- virtual void lineToVertical(float, PathCoordinateMode) { ASSERT_NOT_REACHED(); } |
- virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) { ASSERT_NOT_REACHED(); } |
- virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) { ASSERT_NOT_REACHED(); } |
- virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) { ASSERT_NOT_REACHED(); } |
- virtual void arcTo(float, float, float, bool, bool, const FloatPoint&, PathCoordinateMode) { ASSERT_NOT_REACHED(); } |
+ virtual void lineToHorizontal(float, PathCoordinateMode) OVERRIDE { ASSERT_NOT_REACHED(); } |
+ virtual void lineToVertical(float, PathCoordinateMode) OVERRIDE { ASSERT_NOT_REACHED(); } |
+ virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) OVERRIDE { ASSERT_NOT_REACHED(); } |
+ virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) OVERRIDE { ASSERT_NOT_REACHED(); } |
+ virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) OVERRIDE { ASSERT_NOT_REACHED(); } |
+ virtual void arcTo(float, float, float, bool, bool, const FloatPoint&, PathCoordinateMode) OVERRIDE { ASSERT_NOT_REACHED(); } |
Path* m_path; |
FloatPoint m_current; |