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

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

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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 9232ffbf17b8758c0aa733309af0da827de3fa3a..31afa611c474691b8bec844a3afc9e25b52fe696 100644
--- a/Source/core/rendering/svg/RenderSVGGradientStop.h
+++ b/Source/core/rendering/svg/RenderSVGGradientStop.h
@@ -29,27 +29,27 @@ class SVGGradientElement;
class SVGStopElement;
// This class exists mostly so we can hear about gradient stop style changes
-class RenderSVGGradientStop FINAL : public RenderObject {
+class RenderSVGGradientStop final : public RenderObject {
public:
explicit RenderSVGGradientStop(SVGStopElement*);
virtual ~RenderSVGGradientStop();
- virtual const char* renderName() const OVERRIDE { return "RenderSVGGradientStop"; }
- virtual bool isSVGGradientStop() const OVERRIDE { return true; }
- virtual bool isSVG() const OVERRIDE { 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() OVERRIDE;
+ 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 clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject*, const PaintInvalidationState* = 0) const OVERRIDE { return LayoutRect(); }
- virtual FloatRect objectBoundingBox() const OVERRIDE { return FloatRect(); }
- virtual FloatRect strokeBoundingBox() const OVERRIDE { return FloatRect(); }
- virtual FloatRect paintInvalidationRectInLocalCoordinates() const OVERRIDE { return FloatRect(); }
+ virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject*, const PaintInvalidationState* = 0) const override { return LayoutRect(); }
+ virtual FloatRect objectBoundingBox() const override { return FloatRect(); }
+ virtual FloatRect strokeBoundingBox() const override { return FloatRect(); }
+ virtual FloatRect paintInvalidationRectInLocalCoordinates() const override { return FloatRect(); }
protected:
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE;
+ 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