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

Unified Diff: Source/core/css/CSSBasicShapes.h

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch 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/css/BinaryDataFontFaceSource.h ('k') | Source/core/css/CSSCalculationValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSBasicShapes.h
diff --git a/Source/core/css/CSSBasicShapes.h b/Source/core/css/CSSBasicShapes.h
index f06445b1e0eceef06e9ef51020f90d68ddf647d1..244aff152d4a3b90867a11d152f2436f08f56e05 100644
--- a/Source/core/css/CSSBasicShapes.h
+++ b/Source/core/css/CSSBasicShapes.h
@@ -62,13 +62,13 @@ protected:
RefPtrWillBeMember<CSSPrimitiveValue> m_referenceBox;
};
-class CSSBasicShapeCircle FINAL : public CSSBasicShape {
+class CSSBasicShapeCircle final : public CSSBasicShape {
public:
static PassRefPtrWillBeRawPtr<CSSBasicShapeCircle> create() { return adoptRefWillBeNoop(new CSSBasicShapeCircle); }
- virtual Type type() const OVERRIDE { return CSSBasicShapeCircleType; }
- virtual String cssText() const OVERRIDE;
- virtual bool equals(const CSSBasicShape&) const OVERRIDE;
+ virtual Type type() const override { return CSSBasicShapeCircleType; }
+ virtual String cssText() const override;
+ virtual bool equals(const CSSBasicShape&) const override;
CSSPrimitiveValue* centerX() const { return m_centerX.get(); }
CSSPrimitiveValue* centerY() const { return m_centerY.get(); }
@@ -88,13 +88,13 @@ private:
RefPtrWillBeMember<CSSPrimitiveValue> m_radius;
};
-class CSSBasicShapeEllipse FINAL : public CSSBasicShape {
+class CSSBasicShapeEllipse final : public CSSBasicShape {
public:
static PassRefPtrWillBeRawPtr<CSSBasicShapeEllipse> create() { return adoptRefWillBeNoop(new CSSBasicShapeEllipse); }
- virtual Type type() const OVERRIDE { return CSSBasicShapeEllipseType; }
- virtual String cssText() const OVERRIDE;
- virtual bool equals(const CSSBasicShape&) const OVERRIDE;
+ virtual Type type() const override { return CSSBasicShapeEllipseType; }
+ virtual String cssText() const override;
+ virtual bool equals(const CSSBasicShape&) const override;
CSSPrimitiveValue* centerX() const { return m_centerX.get(); }
CSSPrimitiveValue* centerY() const { return m_centerY.get(); }
@@ -117,7 +117,7 @@ private:
RefPtrWillBeMember<CSSPrimitiveValue> m_radiusY;
};
-class CSSBasicShapePolygon FINAL : public CSSBasicShape {
+class CSSBasicShapePolygon final : public CSSBasicShape {
public:
static PassRefPtrWillBeRawPtr<CSSBasicShapePolygon> create() { return adoptRefWillBeNoop(new CSSBasicShapePolygon); }
@@ -134,9 +134,9 @@ public:
void setWindRule(WindRule w) { m_windRule = w; }
WindRule windRule() const { return m_windRule; }
- virtual Type type() const OVERRIDE { return CSSBasicShapePolygonType; }
- virtual String cssText() const OVERRIDE;
- virtual bool equals(const CSSBasicShape&) const OVERRIDE;
+ virtual Type type() const override { return CSSBasicShapePolygonType; }
+ virtual String cssText() const override;
+ virtual bool equals(const CSSBasicShape&) const override;
virtual void trace(Visitor*);
@@ -198,9 +198,9 @@ public:
void setBottomRightRadius(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> radius) { m_bottomRightRadius = radius; }
void setBottomLeftRadius(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> radius) { m_bottomLeftRadius = radius; }
- virtual Type type() const OVERRIDE { return CSSBasicShapeInsetType; }
- virtual String cssText() const OVERRIDE;
- virtual bool equals(const CSSBasicShape&) const OVERRIDE;
+ virtual Type type() const override { return CSSBasicShapeInsetType; }
+ virtual String cssText() const override;
+ virtual bool equals(const CSSBasicShape&) const override;
virtual void trace(Visitor*);
« no previous file with comments | « Source/core/css/BinaryDataFontFaceSource.h ('k') | Source/core/css/CSSCalculationValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698