Changeset 163282 in webkit


Ignore:
Timestamp:
Feb 2, 2014 8:44:10 PM (10 years ago)
Author:
akling@apple.com
Message:

Minor SVGRootInlineBox cleanup.
<https://webkit.org/b/128094>

Remove two virtual functions and sprinkle some missing overrides.

Reviewed by Anders Carlsson.

  • rendering/svg/SVGRootInlineBox.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r163281 r163282  
     12014-02-02  Andreas Kling  <akling@apple.com>
     2
     3        Minor SVGRootInlineBox cleanup.
     4        <https://webkit.org/b/128094>
     5
     6        Remove two virtual functions and sprinkle some missing overrides.
     7
     8        Reviewed by Anders Carlsson.
     9
     10        * rendering/svg/SVGRootInlineBox.h:
     11
    1122014-01-30  Oliver Hunt  <oliver@apple.com>
    213
  • trunk/Source/WebCore/rendering/svg/SVGRootInlineBox.h

    r162158 r163282  
    3636class SVGRootInlineBox final : public RootInlineBox {
    3737public:
    38     SVGRootInlineBox(RenderSVGText&);
     38    explicit SVGRootInlineBox(RenderSVGText&);
    3939
    4040    RenderSVGText& renderSVGText();
    4141
    42     virtual float virtualLogicalHeight() const { return m_logicalHeight; }
     42    virtual float virtualLogicalHeight() const override { return m_logicalHeight; }
    4343    void setLogicalHeight(float height) { m_logicalHeight = height; }
    4444
    45     virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom);
     45    virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override;
    4646
    4747    void computePerCharacterLayoutInformation();
    48 
    49     virtual FloatRect objectBoundingBox() const { return FloatRect(); }
    50     virtual FloatRect repaintRectInLocalCoordinates() const { return FloatRect(); }
    5148
    5249    InlineBox* closestLeafChildForPosition(const LayoutPoint&);
Note: See TracChangeset for help on using the changeset viewer.