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

Unified Diff: Source/core/layout/svg/LayoutSVGPath.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/LayoutSVGModelObject.h ('k') | Source/core/layout/svg/LayoutSVGRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGPath.h
diff --git a/Source/core/layout/svg/LayoutSVGPath.h b/Source/core/layout/svg/LayoutSVGPath.h
index 90e28963e01531ba52c59f5ab22797e344e8d0d9..127ab415fc66c4cee7f94d3e32ba7112b0c73b93 100644
--- a/Source/core/layout/svg/LayoutSVGPath.h
+++ b/Source/core/layout/svg/LayoutSVGPath.h
@@ -33,22 +33,22 @@ namespace blink {
class LayoutSVGPath final : public LayoutSVGShape {
public:
explicit LayoutSVGPath(SVGGeometryElement*);
- virtual ~LayoutSVGPath();
+ ~LayoutSVGPath() override;
- virtual const Vector<MarkerPosition>* markerPositions() const override { return &m_markerPositions; }
+ const Vector<MarkerPosition>* markerPositions() const override { return &m_markerPositions; }
- virtual const Vector<FloatPoint>* zeroLengthLineCaps() const override { return &m_zeroLengthLinecapLocations; }
+ const Vector<FloatPoint>* zeroLengthLineCaps() const override { return &m_zeroLengthLinecapLocations; }
static FloatRect zeroLengthSubpathRect(const FloatPoint&, float);
- virtual const char* name() const override { return "LayoutSVGPath"; }
+ const char* name() const override { return "LayoutSVGPath"; }
private:
void updateShapeFromElement() override;
void updateStrokeAndFillBoundingBoxes() override;
- virtual FloatRect hitTestStrokeBoundingBox() const override;
+ FloatRect hitTestStrokeBoundingBox() const override;
- virtual bool shapeDependentStrokeContains(const FloatPoint&) override;
+ bool shapeDependentStrokeContains(const FloatPoint&) override;
FloatRect markerRect(float strokeWidth) const;
bool shouldGenerateMarkerPositions() const;
« no previous file with comments | « Source/core/layout/svg/LayoutSVGModelObject.h ('k') | Source/core/layout/svg/LayoutSVGRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698