Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1478)

Unified Diff: Source/core/svg/SVGPathByteStreamSource.h

Issue 134593005: Update SVG classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGPathByteStreamBuilder.h ('k') | Source/core/svg/SVGPathElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathByteStreamSource.h
diff --git a/Source/core/svg/SVGPathByteStreamSource.h b/Source/core/svg/SVGPathByteStreamSource.h
index 9dedab5bfe5a7dd6da1b72ad48d8074639629683..c1189bf7e77cde9cde69dac64da0afcaba9f37f9 100644
--- a/Source/core/svg/SVGPathByteStreamSource.h
+++ b/Source/core/svg/SVGPathByteStreamSource.h
@@ -27,7 +27,7 @@
namespace WebCore {
-class SVGPathByteStreamSource : public SVGPathSource {
+class SVGPathByteStreamSource FINAL : public SVGPathSource {
public:
static PassOwnPtr<SVGPathByteStreamSource> create(SVGPathByteStream* stream)
{
@@ -37,20 +37,20 @@ public:
private:
SVGPathByteStreamSource(SVGPathByteStream*);
- virtual bool hasMoreData() const;
- virtual bool moveToNextToken() { return true; }
- virtual bool parseSVGSegmentType(SVGPathSegType&);
- virtual SVGPathSegType nextCommand(SVGPathSegType);
-
- virtual bool parseMoveToSegment(FloatPoint&);
- virtual bool parseLineToSegment(FloatPoint&);
- virtual bool parseLineToHorizontalSegment(float&);
- virtual bool parseLineToVerticalSegment(float&);
- virtual bool parseCurveToCubicSegment(FloatPoint&, FloatPoint&, FloatPoint&);
- virtual bool parseCurveToCubicSmoothSegment(FloatPoint&, FloatPoint&);
- virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&);
- virtual bool parseCurveToQuadraticSmoothSegment(FloatPoint&);
- virtual bool parseArcToSegment(float&, float&, float&, bool&, bool&, FloatPoint&);
+ virtual bool hasMoreData() const OVERRIDE;
+ virtual bool moveToNextToken() OVERRIDE { return true; }
+ virtual bool parseSVGSegmentType(SVGPathSegType&) OVERRIDE;
+ virtual SVGPathSegType nextCommand(SVGPathSegType) OVERRIDE;
+
+ virtual bool parseMoveToSegment(FloatPoint&) OVERRIDE;
+ virtual bool parseLineToSegment(FloatPoint&) OVERRIDE;
+ virtual bool parseLineToHorizontalSegment(float&) OVERRIDE;
+ virtual bool parseLineToVerticalSegment(float&) OVERRIDE;
+ virtual bool parseCurveToCubicSegment(FloatPoint&, FloatPoint&, FloatPoint&) OVERRIDE;
+ virtual bool parseCurveToCubicSmoothSegment(FloatPoint&, FloatPoint&) OVERRIDE;
+ virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&) OVERRIDE;
+ virtual bool parseCurveToQuadraticSmoothSegment(FloatPoint&) OVERRIDE;
+ virtual bool parseArcToSegment(float&, float&, float&, bool&, bool&, FloatPoint&) OVERRIDE;
#if COMPILER(MSVC)
#pragma warning(disable: 4701)
« no previous file with comments | « Source/core/svg/SVGPathByteStreamBuilder.h ('k') | Source/core/svg/SVGPathElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698