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

Unified Diff: Source/core/rendering/shapes/RasterShape.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/rendering/shapes/PolygonShape.h ('k') | Source/core/rendering/shapes/RectangleShape.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/shapes/RasterShape.h
diff --git a/Source/core/rendering/shapes/RasterShape.h b/Source/core/rendering/shapes/RasterShape.h
index 006cce86da6d3b7d2360b252d174a4cd75d7cc6a..c51b5a5710f698c714b4deedab636ce2946f8993 100644
--- a/Source/core/rendering/shapes/RasterShape.h
+++ b/Source/core/rendering/shapes/RasterShape.h
@@ -77,7 +77,7 @@ private:
int m_offset;
};
-class RasterShape FINAL : public Shape {
+class RasterShape final : public Shape {
WTF_MAKE_NONCOPYABLE(RasterShape);
public:
RasterShape(PassOwnPtr<RasterShapeIntervals> intervals, const IntSize& marginRectSize)
@@ -87,10 +87,10 @@ public:
m_intervals->initializeBounds();
}
- virtual LayoutRect shapeMarginLogicalBoundingBox() const OVERRIDE { return static_cast<LayoutRect>(marginIntervals().bounds()); }
- virtual bool isEmpty() const OVERRIDE { return m_intervals->isEmpty(); }
- virtual LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const OVERRIDE;
- virtual void buildDisplayPaths(DisplayPaths& paths) const OVERRIDE
+ virtual LayoutRect shapeMarginLogicalBoundingBox() const override { return static_cast<LayoutRect>(marginIntervals().bounds()); }
+ virtual bool isEmpty() const override { return m_intervals->isEmpty(); }
+ virtual LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const override;
+ virtual void buildDisplayPaths(DisplayPaths& paths) const override
{
m_intervals->buildBoundsPath(paths.shape);
if (shapeMargin())
« no previous file with comments | « Source/core/rendering/shapes/PolygonShape.h ('k') | Source/core/rendering/shapes/RectangleShape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698