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

Unified Diff: Source/core/svg/SVGPathSegListSource.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/SVGPathSegListBuilder.h ('k') | Source/core/svg/SVGPathSegMovetoAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegListSource.h
diff --git a/Source/core/svg/SVGPathSegListSource.h b/Source/core/svg/SVGPathSegListSource.h
index 9ff02c4d8badc7c7ded8417b033585e20791d8a6..edcd67f4a3e346bd6df955f5c05f5ace90ecdb97 100644
--- a/Source/core/svg/SVGPathSegListSource.h
+++ b/Source/core/svg/SVGPathSegListSource.h
@@ -29,7 +29,7 @@
namespace WebCore {
-class SVGPathSegListSource : public SVGPathSource {
+class SVGPathSegListSource FINAL : public SVGPathSource {
public:
static PassOwnPtr<SVGPathSegListSource> create(const SVGPathSegList& pathSegList)
{
@@ -39,20 +39,20 @@ public:
private:
SVGPathSegListSource(const SVGPathSegList&);
- virtual bool hasMoreData() const;
- virtual bool moveToNextToken() { return true; }
- virtual bool parseSVGSegmentType(SVGPathSegType&);
- virtual SVGPathSegType nextCommand(SVGPathSegType);
+ 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&);
- 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 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;
const SVGPathSegList& m_pathSegList;
RefPtr<SVGPathSeg> m_segment;
« no previous file with comments | « Source/core/svg/SVGPathSegListBuilder.h ('k') | Source/core/svg/SVGPathSegMovetoAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698