Index: Source/web/WebFontImpl.h |
diff --git a/Source/web/WebFontImpl.h b/Source/web/WebFontImpl.h |
index 1c190cd01d8e4bbc4f42f85a4db2ab2d4fbcf866..ef6291c5102991eee4f8ea6a4eefaf41c45ac4ae 100644 |
--- a/Source/web/WebFontImpl.h |
+++ b/Source/web/WebFontImpl.h |
@@ -38,24 +38,24 @@ namespace WebCore { class FontDescription; } |
namespace blink { |
-class WebFontImpl : public WebFont { |
+class WebFontImpl FINAL : public WebFont { |
public: |
WebFontImpl(const WebCore::FontDescription&, float letterSpacing, float wordSpacing); |
- virtual WebFontDescription fontDescription() const; |
+ virtual WebFontDescription fontDescription() const OVERRIDE; |
- virtual int ascent() const; |
- virtual int descent() const; |
- virtual int height() const; |
- virtual int lineSpacing() const; |
- virtual float xHeight() const; |
+ virtual int ascent() const OVERRIDE; |
+ virtual int descent() const OVERRIDE; |
+ virtual int height() const OVERRIDE; |
+ virtual int lineSpacing() const OVERRIDE; |
+ virtual float xHeight() const OVERRIDE; |
virtual void drawText(WebCanvas*, const WebTextRun&, const WebFloatPoint& leftBaseline, WebColor, |
- const WebRect& clip, bool canvasIsOpaque, int from = 0, int to = -1) const; |
- virtual int calculateWidth(const WebTextRun&) const; |
- virtual int offsetForPosition(const WebTextRun&, float position) const; |
+ const WebRect& clip, bool canvasIsOpaque, int from = 0, int to = -1) const OVERRIDE; |
+ virtual int calculateWidth(const WebTextRun&) const OVERRIDE; |
+ virtual int offsetForPosition(const WebTextRun&, float position) const OVERRIDE; |
virtual WebFloatRect selectionRectForText(const WebTextRun&, const WebFloatPoint& leftBaseline, |
- int height, int from = 0, int to = -1) const; |
+ int height, int from = 0, int to = -1) const OVERRIDE; |
private: |
WebCore::Font m_font; |