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

Unified Diff: Source/core/rendering/svg/RenderSVGInline.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/RenderSVGImage.h ('k') | Source/core/rendering/svg/RenderSVGInlineText.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGInline.h
diff --git a/Source/core/rendering/svg/RenderSVGInline.h b/Source/core/rendering/svg/RenderSVGInline.h
index 43d579422561c06847b58863697cdbcce0f4fb93..a43d563a1ccd4dabd0616135a2439c67e25e7dbd 100644
--- a/Source/core/rendering/svg/RenderSVGInline.h
+++ b/Source/core/rendering/svg/RenderSVGInline.h
@@ -29,36 +29,36 @@ class RenderSVGInline : public RenderInline {
public:
explicit RenderSVGInline(Element*);
- virtual const char* renderName() const OVERRIDE { return "RenderSVGInline"; }
- virtual LayerType layerTypeRequired() const OVERRIDE FINAL { return NoLayer; }
- virtual bool isSVGInline() const OVERRIDE FINAL { return true; }
- virtual bool isSVG() const OVERRIDE FINAL { return true; }
+ virtual const char* renderName() const override { return "RenderSVGInline"; }
+ virtual LayerType layerTypeRequired() const override final { return NoLayer; }
+ virtual bool isSVGInline() const override final { return true; }
+ virtual bool isSVG() const override final { return true; }
- virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE;
+ virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override;
// Chapter 10.4 of the SVG Specification say that we should use the
// object bounding box of the parent text element.
// We search for the root text element and take its bounding box.
// It is also necessary to take the stroke and paint invalidation rect of
// this element, since we need it for filters.
- virtual FloatRect objectBoundingBox() const OVERRIDE FINAL;
- virtual FloatRect strokeBoundingBox() const OVERRIDE FINAL;
- virtual FloatRect paintInvalidationRectInLocalCoordinates() const OVERRIDE FINAL;
+ virtual FloatRect objectBoundingBox() const override final;
+ virtual FloatRect strokeBoundingBox() const override final;
+ virtual FloatRect paintInvalidationRectInLocalCoordinates() const override final;
- virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const OVERRIDE FINAL;
- virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, FloatRect&, const PaintInvalidationState*) const OVERRIDE FINAL;
- virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0, const PaintInvalidationState* = 0) const OVERRIDE FINAL;
- virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE FINAL;
- virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const OVERRIDE FINAL;
+ virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override final;
+ virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, FloatRect&, const PaintInvalidationState*) const override final;
+ virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0, const PaintInvalidationState* = 0) const override final;
+ virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const override final;
+ virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override final;
private:
- virtual InlineFlowBox* createInlineFlowBox() OVERRIDE FINAL;
+ virtual InlineFlowBox* createInlineFlowBox() override final;
- virtual void willBeDestroyed() OVERRIDE FINAL;
- virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OVERRIDE FINAL;
+ virtual void willBeDestroyed() override final;
+ virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override final;
- virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE FINAL;
- virtual void removeChild(RenderObject*) OVERRIDE FINAL;
+ virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) override final;
+ virtual void removeChild(RenderObject*) override final;
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGInline, isSVGInline());
« no previous file with comments | « Source/core/rendering/svg/RenderSVGImage.h ('k') | Source/core/rendering/svg/RenderSVGInlineText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698