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

Unified Diff: Source/core/layout/svg/LayoutSVGRect.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/LayoutSVGPath.h ('k') | Source/core/layout/svg/LayoutSVGResourceClipper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGRect.h
diff --git a/Source/core/layout/svg/LayoutSVGRect.h b/Source/core/layout/svg/LayoutSVGRect.h
index ce263f52ad69bd0e5b40ec9e1bfed56e531dfc3f..cf023e7f3d9296503c131711417ef8ec2ef0a4a7 100644
--- a/Source/core/layout/svg/LayoutSVGRect.h
+++ b/Source/core/layout/svg/LayoutSVGRect.h
@@ -35,19 +35,19 @@ namespace blink {
class LayoutSVGRect final : public LayoutSVGShape {
public:
explicit LayoutSVGRect(SVGRectElement*);
- virtual ~LayoutSVGRect();
+ ~LayoutSVGRect() override;
- virtual ShapeGeometryCodePath geometryCodePath() const override { return m_usePathFallback ? PathGeometry : RectGeometryFastPath; }
+ ShapeGeometryCodePath geometryCodePath() const override { return m_usePathFallback ? PathGeometry : RectGeometryFastPath; }
- virtual const char* name() const override { return "LayoutSVGRect"; }
+ const char* name() const override { return "LayoutSVGRect"; }
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;
bool definitelyHasSimpleStroke(const SVGComputedStyle&) const;
private:
« no previous file with comments | « Source/core/layout/svg/LayoutSVGPath.h ('k') | Source/core/layout/svg/LayoutSVGResourceClipper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698