Index: Source/core/rendering/shapes/RectangleShape.h |
diff --git a/Source/core/rendering/shapes/RectangleShape.h b/Source/core/rendering/shapes/RectangleShape.h |
index 7c32cd89a8aa8e69ee2f1ded26647b9269d140f8..5fa0e94b5b865ca27370e132d70373d578e77c49 100644 |
--- a/Source/core/rendering/shapes/RectangleShape.h |
+++ b/Source/core/rendering/shapes/RectangleShape.h |
@@ -38,7 +38,7 @@ |
namespace blink { |
-class RectangleShape FINAL : public Shape { |
+class RectangleShape final : public Shape { |
public: |
RectangleShape(const FloatRect& bounds, const FloatSize& radii) |
: Shape() |
@@ -47,10 +47,10 @@ public: |
{ |
} |
- virtual LayoutRect shapeMarginLogicalBoundingBox() const OVERRIDE { return static_cast<LayoutRect>(shapeMarginBounds()); } |
- virtual bool isEmpty() const OVERRIDE { return m_bounds.isEmpty(); } |
- virtual LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const OVERRIDE; |
- virtual void buildDisplayPaths(DisplayPaths&) const OVERRIDE; |
+ virtual LayoutRect shapeMarginLogicalBoundingBox() const override { return static_cast<LayoutRect>(shapeMarginBounds()); } |
+ virtual bool isEmpty() const override { return m_bounds.isEmpty(); } |
+ virtual LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const override; |
+ virtual void buildDisplayPaths(DisplayPaths&) const override; |
private: |
FloatRect shapeMarginBounds() const; |