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

Unified Diff: Source/core/rendering/svg/RenderSVGContainer.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
« no previous file with comments | « Source/core/rendering/svg/RenderSVGBlock.h ('k') | Source/core/rendering/svg/RenderSVGEllipse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGContainer.h
diff --git a/Source/core/rendering/svg/RenderSVGContainer.h b/Source/core/rendering/svg/RenderSVGContainer.h
index 6871482a56d9f17d6b831a8127a21614497ebed5..bead1b0c30b7e5b6a9b66e444fd92f75e31ddc17 100644
--- a/Source/core/rendering/svg/RenderSVGContainer.h
+++ b/Source/core/rendering/svg/RenderSVGContainer.h
@@ -33,36 +33,36 @@ class RenderSVGContainer : public RenderSVGModelObject {
public:
explicit RenderSVGContainer(SVGElement*);
virtual ~RenderSVGContainer();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
// If you have a RenderSVGContainer, use firstChild or lastChild instead.
void slowFirstChild() const WTF_DELETED_FUNCTION;
void slowLastChild() const WTF_DELETED_FUNCTION;
- virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
- virtual void setNeedsBoundariesUpdate() OVERRIDE FINAL { m_needsBoundariesUpdate = true; }
+ virtual void paint(PaintInfo&, const LayoutPoint&) override;
+ virtual void setNeedsBoundariesUpdate() override final { m_needsBoundariesUpdate = true; }
virtual bool didTransformToRootUpdate() { return false; }
bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; }
protected:
- virtual RenderObjectChildList* virtualChildren() OVERRIDE FINAL { return children(); }
- virtual const RenderObjectChildList* virtualChildren() const OVERRIDE FINAL { return children(); }
+ virtual RenderObjectChildList* virtualChildren() override final { return children(); }
+ virtual const RenderObjectChildList* virtualChildren() const override final { return children(); }
- virtual bool isSVGContainer() const OVERRIDE FINAL { return true; }
- virtual const char* renderName() const OVERRIDE { return "RenderSVGContainer"; }
+ virtual bool isSVGContainer() const override final { return true; }
+ virtual const char* renderName() const override { return "RenderSVGContainer"; }
- virtual void layout() OVERRIDE;
+ virtual void layout() override;
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE FINAL;
- virtual void removeChild(RenderObject*) OVERRIDE FINAL;
- virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer) const OVERRIDE FINAL;
+ virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override final;
+ virtual void removeChild(RenderObject*) override final;
+ virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& additionalOffset, const RenderLayerModelObject* paintContainer) const override final;
- virtual FloatRect objectBoundingBox() const OVERRIDE FINAL { return m_objectBoundingBox; }
- virtual FloatRect strokeBoundingBox() const OVERRIDE FINAL { return m_strokeBoundingBox; }
- virtual FloatRect paintInvalidationRectInLocalCoordinates() const OVERRIDE FINAL { return m_paintInvalidationBoundingBox; }
+ virtual FloatRect objectBoundingBox() const override final { return m_objectBoundingBox; }
+ virtual FloatRect strokeBoundingBox() const override final { return m_strokeBoundingBox; }
+ virtual FloatRect paintInvalidationRectInLocalCoordinates() const override final { return m_paintInvalidationBoundingBox; }
- virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) OVERRIDE;
+ virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override;
// Allow RenderSVGTransformableContainer to hook in at the right time in layout()
virtual bool calculateLocalTransform() { return false; }
« no previous file with comments | « Source/core/rendering/svg/RenderSVGBlock.h ('k') | Source/core/rendering/svg/RenderSVGEllipse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698