Index: Source/core/rendering/EllipsisBox.h |
diff --git a/Source/core/rendering/EllipsisBox.h b/Source/core/rendering/EllipsisBox.h |
index ad8e61291f5e6c5a6ef39411b695e3fbf0283342..149a8512e641060f9c2f2642e65c529121a38eba 100644 |
--- a/Source/core/rendering/EllipsisBox.h |
+++ b/Source/core/rendering/EllipsisBox.h |
@@ -40,7 +40,7 @@ public: |
setHasVirtualLogicalHeight(); |
} |
- virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom); |
+ virtual void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) OVERRIDE; |
virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom) OVERRIDE; |
void setSelectionState(RenderObject::SelectionState s) { m_selectionState = s; } |
IntRect selectionRect(); |
@@ -48,8 +48,8 @@ public: |
virtual float virtualLogicalHeight() const OVERRIDE { return m_height; } |
private: |
void paintMarkupBox(PaintInfo&, const LayoutPoint& paintOffset, LayoutUnit lineTop, LayoutUnit lineBottom, RenderStyle*); |
- virtual int height() const { return m_height; } |
- virtual RenderObject::SelectionState selectionState() { return m_selectionState; } |
+ int height() const { return m_height; } |
+ virtual RenderObject::SelectionState selectionState() OVERRIDE { return m_selectionState; } |
void paintSelection(GraphicsContext*, const FloatPoint&, RenderStyle*, const Font&); |
InlineBox* markupBox() const; |