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

Unified Diff: Source/core/layout/svg/LayoutSVGInlineText.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/LayoutSVGInline.h ('k') | Source/core/layout/svg/LayoutSVGModelObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGInlineText.h
diff --git a/Source/core/layout/svg/LayoutSVGInlineText.h b/Source/core/layout/svg/LayoutSVGInlineText.h
index 1d784d0ed611be23497c41ba82f1ee9a7890aea1..7525a00dd7d9b06ef20c9a0bbf5f3bef121d7a62 100644
--- a/Source/core/layout/svg/LayoutSVGInlineText.h
+++ b/Source/core/layout/svg/LayoutSVGInlineText.h
@@ -43,24 +43,24 @@ public:
// Preserves floating point precision for the use in DRT. It knows how to round and does a better job than enclosingIntRect.
FloatRect floatLinesBoundingBox() const;
- virtual PassRefPtr<StringImpl> originalText() const override;
+ PassRefPtr<StringImpl> originalText() const override;
- virtual const char* name() const override { return "LayoutSVGInlineText"; }
+ const char* name() const override { return "LayoutSVGInlineText"; }
private:
- virtual void setTextInternal(PassRefPtr<StringImpl>) override;
- virtual void styleDidChange(StyleDifference, const ComputedStyle*) override;
+ void setTextInternal(PassRefPtr<StringImpl>) override;
+ void styleDidChange(StyleDifference, const ComputedStyle*) override;
- virtual FloatRect objectBoundingBox() const override { return floatLinesBoundingBox(); }
+ FloatRect objectBoundingBox() const override { return floatLinesBoundingBox(); }
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || type == LayoutObjectSVGInlineText || LayoutText::isOfType(type); }
+ bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVG || type == LayoutObjectSVGInlineText || LayoutText::isOfType(type); }
- virtual PositionWithAffinity positionForPoint(const LayoutPoint&) override;
- virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = nullptr) override;
- virtual IntRect linesBoundingBox() const override;
- virtual InlineTextBox* createTextBox(int start, unsigned short length) override;
+ PositionWithAffinity positionForPoint(const LayoutPoint&) override;
+ LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidthToEndOfLine = nullptr) override;
+ IntRect linesBoundingBox() const override;
+ InlineTextBox* createTextBox(int start, unsigned short length) override;
- virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState*) const override final;
+ LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState*) const final;
float m_scalingFactor;
Font m_scaledFont;
« no previous file with comments | « Source/core/layout/svg/LayoutSVGInline.h ('k') | Source/core/layout/svg/LayoutSVGModelObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698