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

Unified Diff: Source/core/layout/svg/LayoutSVGResourceMasker.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
Index: Source/core/layout/svg/LayoutSVGResourceMasker.h
diff --git a/Source/core/layout/svg/LayoutSVGResourceMasker.h b/Source/core/layout/svg/LayoutSVGResourceMasker.h
index 7d8b9374ed1a3a4b6fb9a2b8762579032b07014f..fd5c717103784bb50b753b00340419c511a868eb 100644
--- a/Source/core/layout/svg/LayoutSVGResourceMasker.h
+++ b/Source/core/layout/svg/LayoutSVGResourceMasker.h
@@ -35,12 +35,12 @@ class GraphicsContext;
class LayoutSVGResourceMasker final : public LayoutSVGResourceContainer {
public:
explicit LayoutSVGResourceMasker(SVGMaskElement*);
- virtual ~LayoutSVGResourceMasker();
+ ~LayoutSVGResourceMasker() override;
- virtual const char* name() const override { return "LayoutSVGResourceMasker"; }
+ const char* name() const override { return "LayoutSVGResourceMasker"; }
- virtual void removeAllClientsFromCache(bool markForInvalidation = true) override;
- virtual void removeClientFromCache(LayoutObject*, bool markForInvalidation = true) override;
+ void removeAllClientsFromCache(bool markForInvalidation = true) override;
+ void removeClientFromCache(LayoutObject*, bool markForInvalidation = true) override;
FloatRect resourceBoundingBox(const LayoutObject*);
@@ -48,7 +48,7 @@ public:
SVGUnitTypes::SVGUnitType maskContentUnits() const { return toSVGMaskElement(element())->maskContentUnits()->currentValue()->enumValue(); }
static const LayoutSVGResourceType s_resourceType = MaskerResourceType;
- virtual LayoutSVGResourceType resourceType() const override { return s_resourceType; }
+ LayoutSVGResourceType resourceType() const override { return s_resourceType; }
PassRefPtr<const SkPicture> createContentPicture(AffineTransform&, const FloatRect&, GraphicsContext*);
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceMarker.h ('k') | Source/core/layout/svg/LayoutSVGResourcePaintServer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698