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

Unified Diff: Source/core/rendering/svg/RenderSVGGradientStop.h

Issue 135563002: Update remaining rendering classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/rendering/svg/RenderSVGGradientStop.h
diff --git a/Source/core/rendering/svg/RenderSVGGradientStop.h b/Source/core/rendering/svg/RenderSVGGradientStop.h
index 71f9871335b4fded6d8340abda83d91682f3f491..731441cbaff655ac52417435567135fcdca11851 100644
--- a/Source/core/rendering/svg/RenderSVGGradientStop.h
+++ b/Source/core/rendering/svg/RenderSVGGradientStop.h
@@ -34,22 +34,22 @@ public:
explicit RenderSVGGradientStop(SVGStopElement*);
virtual ~RenderSVGGradientStop();
- virtual const char* renderName() const { return "RenderSVGGradientStop"; }
- virtual bool isSVGGradientStop() const OVERRIDE FINAL { return true; }
- virtual bool isSVG() const OVERRIDE FINAL { return true; }
+ virtual const char* renderName() const OVERRIDE { return "RenderSVGGradientStop"; }
+ virtual bool isSVGGradientStop() const OVERRIDE { return true; }
+ virtual bool isSVG() const OVERRIDE { return true; }
- virtual void layout();
+ virtual void layout() OVERRIDE;
// This overrides are needed to prevent ASSERTs on <svg><stop /></svg>
// RenderObject's default implementations ASSERT_NOT_REACHED()
// https://bugs.webkit.org/show_bug.cgi?id=20400
virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject*) const OVERRIDE { return LayoutRect(); }
- virtual FloatRect objectBoundingBox() const { return FloatRect(); }
- virtual FloatRect strokeBoundingBox() const { return FloatRect(); }
- virtual FloatRect repaintRectInLocalCoordinates() const { return FloatRect(); }
+ virtual FloatRect objectBoundingBox() const OVERRIDE { return FloatRect(); }
+ virtual FloatRect strokeBoundingBox() const OVERRIDE { return FloatRect(); }
+ virtual FloatRect repaintRectInLocalCoordinates() const OVERRIDE { return FloatRect(); }
protected:
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
private:
SVGGradientElement* gradientElement() const;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGForeignObject.h ('k') | Source/core/rendering/svg/RenderSVGHiddenContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698