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

Unified Diff: Source/core/layout/shapes/RasterShape.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/layout/shapes/PolygonShape.h ('k') | Source/core/layout/shapes/RectangleShape.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/shapes/RasterShape.h
diff --git a/Source/core/layout/shapes/RasterShape.h b/Source/core/layout/shapes/RasterShape.h
index 20658aff8d1482978d7c9d56edf650be8b37cba9..bf24bd20b425a9336a14b1eada9f29a7c4a0e04d 100644
--- a/Source/core/layout/shapes/RasterShape.h
+++ b/Source/core/layout/shapes/RasterShape.h
@@ -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
+ LayoutRect shapeMarginLogicalBoundingBox() const override { return static_cast<LayoutRect>(marginIntervals().bounds()); }
+ bool isEmpty() const override { return m_intervals->isEmpty(); }
+ LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const override;
+ void buildDisplayPaths(DisplayPaths& paths) const override
{
m_intervals->buildBoundsPath(paths.shape);
if (shapeMargin())
« no previous file with comments | « Source/core/layout/shapes/PolygonShape.h ('k') | Source/core/layout/shapes/RectangleShape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698