Index: Source/core/layout/svg/LayoutSVGText.h |
diff --git a/Source/core/layout/svg/LayoutSVGText.h b/Source/core/layout/svg/LayoutSVGText.h |
index bee0603182c4070620faaee4b4456355f89067ea..247682bb793d9e4d53122400bfe6d4c1cc134d5e 100644 |
--- a/Source/core/layout/svg/LayoutSVGText.h |
+++ b/Source/core/layout/svg/LayoutSVGText.h |
@@ -35,14 +35,14 @@ class LayoutSVGInlineText; |
class LayoutSVGText final : public LayoutSVGBlock { |
public: |
explicit LayoutSVGText(SVGTextElement*); |
- virtual ~LayoutSVGText(); |
+ ~LayoutSVGText() override; |
- virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; |
+ bool isChildAllowed(LayoutObject*, const ComputedStyle&) const override; |
void setNeedsPositioningValuesUpdate() { m_needsPositioningValuesUpdate = true; } |
- virtual void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; } |
+ void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; } |
void setNeedsTextMetricsUpdate() { m_needsTextMetricsUpdate = true; } |
- virtual FloatRect paintInvalidationRectInLocalCoordinates() const override; |
+ FloatRect paintInvalidationRectInLocalCoordinates() const override; |
static LayoutSVGText* locateLayoutSVGTextAncestor(LayoutObject*); |
static const LayoutSVGText* locateLayoutSVGTextAncestor(const LayoutObject*); |
@@ -56,29 +56,29 @@ public: |
void subtreeStyleDidChange(); |
void subtreeTextDidChange(LayoutSVGInlineText*); |
- virtual const AffineTransform& localToParentTransform() const override { return m_localTransform; } |
+ const AffineTransform& localToParentTransform() const override { return m_localTransform; } |
- virtual const char* name() const override { return "LayoutSVGText"; } |
+ const char* name() const override { return "LayoutSVGText"; } |
private: |
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGText || LayoutSVGBlock::isOfType(type); } |
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGText || LayoutSVGBlock::isOfType(type); } |
- virtual void paint(const PaintInfo&, const LayoutPoint&) override; |
- virtual bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override; |
- virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
+ void paint(const PaintInfo&, const LayoutPoint&) override; |
+ bool nodeAtFloatPoint(HitTestResult&, const FloatPoint& pointInParent, HitTestAction) override; |
+ PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
- virtual void layout() override; |
+ void layout() override; |
- virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; |
+ void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; |
- virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override; |
- virtual void removeChild(LayoutObject*) override; |
- virtual void willBeDestroyed() override; |
+ void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override; |
+ void removeChild(LayoutObject*) override; |
+ void willBeDestroyed() override; |
- virtual FloatRect objectBoundingBox() const override { return frameRect(); } |
- virtual FloatRect strokeBoundingBox() const override; |
+ FloatRect objectBoundingBox() const override { return frameRect(); } |
+ FloatRect strokeBoundingBox() const override; |
- virtual RootInlineBox* createRootInlineBox() override; |
+ RootInlineBox* createRootInlineBox() override; |
bool shouldHandleSubtreeMutations() const; |