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

Unified Diff: Source/core/layout/svg/LayoutSVGForeignObject.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/LayoutSVGEllipse.h ('k') | Source/core/layout/svg/LayoutSVGGradientStop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGForeignObject.h
diff --git a/Source/core/layout/svg/LayoutSVGForeignObject.h b/Source/core/layout/svg/LayoutSVGForeignObject.h
index 55a31f78c63d5c7c897876e84141ad3871bac0d9..8b8de76131810c4d9c963622189d80d5e5ce6811 100644
--- a/Source/core/layout/svg/LayoutSVGForeignObject.h
+++ b/Source/core/layout/svg/LayoutSVGForeignObject.h
@@ -30,32 +30,32 @@ class SVGForeignObjectElement;
class LayoutSVGForeignObject final : public LayoutSVGBlock {
public:
explicit LayoutSVGForeignObject(SVGForeignObjectElement*);
- virtual ~LayoutSVGForeignObject();
+ ~LayoutSVGForeignObject() override;
- virtual const char* name() const override { return "LayoutSVGForeignObject"; }
+ const char* name() const override { return "LayoutSVGForeignObject"; }
- virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
+ bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override;
- virtual void paint(const PaintInfo&, const LayoutPoint&) override;
+ void paint(const PaintInfo&, const LayoutPoint&) override;
- virtual void layout() override;
+ void layout() override;
- virtual FloatRect objectBoundingBox() const override { return FloatRect(FloatPoint(), m_viewport.size()); }
- virtual FloatRect strokeBoundingBox() const override { return FloatRect(FloatPoint(), m_viewport.size()); }
- virtual FloatRect paintInvalidationRectInLocalCoordinates() const override { return FloatRect(FloatPoint(), m_viewport.size()); }
+ FloatRect objectBoundingBox() const override { return FloatRect(FloatPoint(), m_viewport.size()); }
+ FloatRect strokeBoundingBox() const override { return FloatRect(FloatPoint(), m_viewport.size()); }
+ FloatRect paintInvalidationRectInLocalCoordinates() const override { return FloatRect(FloatPoint(), m_viewport.size()); }
- virtual bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGForeignObject || LayoutSVGBlock::isOfType(type); }
+ bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override;
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGForeignObject || LayoutSVGBlock::isOfType(type); }
- virtual void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
+ void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
FloatRect viewportRect() { return m_viewport; }
private:
- virtual void updateLogicalWidth() override;
- virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const override;
+ void updateLogicalWidth() override;
+ void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const override;
- virtual const AffineTransform& localToParentTransform() const override;
+ const AffineTransform& localToParentTransform() const override;
bool m_needsTransformUpdate : 1;
FloatRect m_viewport;
« no previous file with comments | « Source/core/layout/svg/LayoutSVGEllipse.h ('k') | Source/core/layout/svg/LayoutSVGGradientStop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698