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

Unified Diff: Source/core/layout/svg/LayoutSVGEllipse.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/svg/LayoutSVGContainer.h ('k') | Source/core/layout/svg/LayoutSVGForeignObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGEllipse.h
diff --git a/Source/core/layout/svg/LayoutSVGEllipse.h b/Source/core/layout/svg/LayoutSVGEllipse.h
index 96a5f746f347ea4900c26198c9cf122920e9363c..33bcd3e8e8f387efac6835c9be01ae09858db073 100644
--- a/Source/core/layout/svg/LayoutSVGEllipse.h
+++ b/Source/core/layout/svg/LayoutSVGEllipse.h
@@ -34,19 +34,19 @@ namespace blink {
class LayoutSVGEllipse final : public LayoutSVGShape {
public:
explicit LayoutSVGEllipse(SVGGeometryElement*);
- virtual ~LayoutSVGEllipse();
+ ~LayoutSVGEllipse() override;
- virtual ShapeGeometryCodePath geometryCodePath() const override { return m_usePathFallback ? PathGeometry : EllipseGeometryFastPath; }
+ ShapeGeometryCodePath geometryCodePath() const override { return m_usePathFallback ? PathGeometry : EllipseGeometryFastPath; }
- virtual const char* name() const override { return "LayoutSVGEllipse"; }
+ const char* name() const override { return "LayoutSVGEllipse"; }
private:
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
void updateShapeFromElement() override;
void updateStrokeAndFillBoundingBoxes() override;
- virtual bool isShapeEmpty() const override { return m_usePathFallback ? LayoutSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); }
- virtual bool shapeDependentStrokeContains(const FloatPoint&) override;
- virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) const override;
+ bool isShapeEmpty() const override { return m_usePathFallback ? LayoutSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); }
+ bool shapeDependentStrokeContains(const FloatPoint&) override;
+ bool shapeDependentFillContains(const FloatPoint&, const WindRule) const override;
void calculateRadiiAndCenter();
bool hasContinuousStroke(const SVGComputedStyle&) const;
« no previous file with comments | « Source/core/layout/svg/LayoutSVGContainer.h ('k') | Source/core/layout/svg/LayoutSVGForeignObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698