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

Unified Diff: Source/core/rendering/svg/RenderSVGViewportContainer.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/RenderSVGViewportContainer.h
diff --git a/Source/core/rendering/svg/RenderSVGViewportContainer.h b/Source/core/rendering/svg/RenderSVGViewportContainer.h
index f4ce4fea01d7e75898865b2955492ba02bfa73b3..842efbb29becefeed3430b737b024812b324252b 100644
--- a/Source/core/rendering/svg/RenderSVGViewportContainer.h
+++ b/Source/core/rendering/svg/RenderSVGViewportContainer.h
@@ -29,31 +29,31 @@ namespace blink {
// This is used for non-root <svg> elements and <marker> elements, neither of which are SVGTransformable
// thus we inherit from RenderSVGContainer instead of RenderSVGTransformableContainer
-class RenderSVGViewportContainer FINAL : public RenderSVGContainer {
+class RenderSVGViewportContainer final : public RenderSVGContainer {
public:
explicit RenderSVGViewportContainer(SVGElement*);
FloatRect viewport() const { return m_viewport; }
bool isLayoutSizeChanged() const { return m_isLayoutSizeChanged; }
- virtual bool didTransformToRootUpdate() OVERRIDE { return m_didTransformToRootUpdate; }
+ virtual bool didTransformToRootUpdate() override { return m_didTransformToRootUpdate; }
- virtual void determineIfLayoutSizeChanged() OVERRIDE;
- virtual void setNeedsTransformUpdate() OVERRIDE { m_needsTransformUpdate = true; }
+ virtual void determineIfLayoutSizeChanged() override;
+ virtual void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
- virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
+ virtual void paint(PaintInfo&, const LayoutPoint&) override;
private:
- virtual bool isSVGViewportContainer() const OVERRIDE { return true; }
- virtual const char* renderName() const OVERRIDE { return "RenderSVGViewportContainer"; }
+ virtual bool isSVGViewportContainer() const override { return true; }
+ virtual const char* renderName() const override { return "RenderSVGViewportContainer"; }
AffineTransform viewportTransform() const;
- virtual const AffineTransform& localToParentTransform() const OVERRIDE { return m_localToParentTransform; }
+ virtual const AffineTransform& localToParentTransform() const override { return m_localToParentTransform; }
- virtual void calcViewport() OVERRIDE;
- virtual bool calculateLocalTransform() OVERRIDE;
+ virtual void calcViewport() override;
+ virtual bool calculateLocalTransform() override;
- virtual void applyViewportClip(PaintInfo&) OVERRIDE;
- virtual bool pointIsInsideViewportClip(const FloatPoint& pointInParent) OVERRIDE;
+ virtual void applyViewportClip(PaintInfo&) override;
+ virtual bool pointIsInsideViewportClip(const FloatPoint& pointInParent) override;
FloatRect m_viewport;
mutable AffineTransform m_localToParentTransform;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGTransformableContainer.h ('k') | Source/core/rendering/svg/SVGInlineFlowBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698