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

Unified Diff: Source/core/layout/svg/LayoutSVGTransformableContainer.h

Issue 1231363003: Fix virtual/override/final usage in Source/core/layout/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/layout/svg/LayoutSVGTextPath.h ('k') | Source/core/layout/svg/LayoutSVGViewportContainer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGTransformableContainer.h
diff --git a/Source/core/layout/svg/LayoutSVGTransformableContainer.h b/Source/core/layout/svg/LayoutSVGTransformableContainer.h
index aad5b685d4ff526c28bf0ab0934ac764be239b8f..a7d834a5b27b955dae917866896c0d9f0b6f549e 100644
--- a/Source/core/layout/svg/LayoutSVGTransformableContainer.h
+++ b/Source/core/layout/svg/LayoutSVGTransformableContainer.h
@@ -30,16 +30,16 @@ class LayoutSVGTransformableContainer final : public LayoutSVGContainer {
public:
explicit LayoutSVGTransformableContainer(SVGGraphicsElement*);
- virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
+ bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGTransformableContainer || LayoutSVGContainer::isOfType(type); }
- virtual const AffineTransform& localToParentTransform() const override { return m_localTransform; }
- virtual void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
- virtual bool didTransformToRootUpdate() override { return m_didTransformToRootUpdate; }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGTransformableContainer || LayoutSVGContainer::isOfType(type); }
+ const AffineTransform& localToParentTransform() const override { return m_localTransform; }
+ void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
+ bool didTransformToRootUpdate() override { return m_didTransformToRootUpdate; }
private:
- virtual bool calculateLocalTransform() override;
- virtual AffineTransform localTransform() const override { return m_localTransform; }
+ bool calculateLocalTransform() override;
+ AffineTransform localTransform() const override { return m_localTransform; }
bool m_needsTransformUpdate : 1;
bool m_didTransformToRootUpdate : 1;
« no previous file with comments | « Source/core/layout/svg/LayoutSVGTextPath.h ('k') | Source/core/layout/svg/LayoutSVGViewportContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698