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

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

Issue 631153003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/SVGPathSegList.h ('k') | Source/core/svg/SVGPathSegListSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegListBuilder.h
diff --git a/Source/core/svg/SVGPathSegListBuilder.h b/Source/core/svg/SVGPathSegListBuilder.h
index 035e4a0e9bd6d9b7ce0faf91d5594eaa8e88aabd..56babb427ac93f832a1a2b7f7a3cfbf8804691f5 100644
--- a/Source/core/svg/SVGPathSegListBuilder.h
+++ b/Source/core/svg/SVGPathSegListBuilder.h
@@ -32,7 +32,7 @@ namespace blink {
class SVGPathElement;
-class SVGPathSegListBuilder FINAL : public SVGPathConsumer {
+class SVGPathSegListBuilder final : public SVGPathConsumer {
public:
SVGPathSegListBuilder();
@@ -40,27 +40,27 @@ public:
void setCurrentSVGPathSegList(PassRefPtr<SVGPathSegList> pathSegList) { m_pathSegList = pathSegList; }
private:
- virtual void incrementPathSegmentCount() OVERRIDE { }
- virtual bool continueConsuming() OVERRIDE { return true; }
- virtual void cleanup() OVERRIDE
+ virtual void incrementPathSegmentCount() override { }
+ virtual bool continueConsuming() override { return true; }
+ virtual void cleanup() override
{
m_pathElement = 0;
m_pathSegList = nullptr;
}
// Used in UnalteredParsing/NormalizedParsing modes.
- 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;
+ 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) OVERRIDE;
- virtual void lineToVertical(float, PathCoordinateMode) OVERRIDE;
- virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) OVERRIDE;
- virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) OVERRIDE;
- virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) OVERRIDE;
- virtual void arcTo(float, float, float, bool largeArcFlag, bool sweepFlag, const FloatPoint&, PathCoordinateMode) OVERRIDE;
+ virtual void lineToHorizontal(float, PathCoordinateMode) override;
+ virtual void lineToVertical(float, PathCoordinateMode) override;
+ virtual void curveToCubicSmooth(const FloatPoint&, const FloatPoint&, PathCoordinateMode) override;
+ virtual void curveToQuadratic(const FloatPoint&, const FloatPoint&, PathCoordinateMode) override;
+ virtual void curveToQuadraticSmooth(const FloatPoint&, PathCoordinateMode) override;
+ virtual void arcTo(float, float, float, bool largeArcFlag, bool sweepFlag, const FloatPoint&, PathCoordinateMode) override;
SVGPathElement* m_pathElement;
RefPtr<SVGPathSegList> m_pathSegList;
« no previous file with comments | « Source/core/svg/SVGPathSegList.h ('k') | Source/core/svg/SVGPathSegListSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698