Index: Source/core/rendering/svg/SVGTextRunRenderingContext.h |
diff --git a/Source/core/rendering/svg/SVGTextRunRenderingContext.h b/Source/core/rendering/svg/SVGTextRunRenderingContext.h |
index e71eca2ca29207dbc143e2bf0857279cdd6d3610..e03f939f4945ff21ce044a047c2d5e22c79eeed5 100644 |
--- a/Source/core/rendering/svg/SVGTextRunRenderingContext.h |
+++ b/Source/core/rendering/svg/SVGTextRunRenderingContext.h |
@@ -29,7 +29,7 @@ namespace WebCore { |
class RenderObject; |
class RenderSVGResource; |
-class SVGTextRunRenderingContext : public TextRun::RenderingContext { |
+class SVGTextRunRenderingContext FINAL : public TextRun::RenderingContext { |
public: |
static PassRefPtr<SVGTextRunRenderingContext> create(RenderObject* renderer) |
{ |
@@ -42,9 +42,9 @@ public: |
RenderSVGResource* activePaintingResource() const { return m_activePaintingResource; } |
void setActivePaintingResource(RenderSVGResource* object) { m_activePaintingResource = object; } |
- virtual GlyphData glyphDataForCharacter(const Font&, const TextRun&, WidthIterator&, UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength); |
- virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const; |
- virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, int& charsConsumed, String& glyphName) const; |
+ virtual GlyphData glyphDataForCharacter(const Font&, const TextRun&, WidthIterator&, UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength) OVERRIDE; |
+ virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const OVERRIDE; |
+ virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, int& charsConsumed, String& glyphName) const OVERRIDE; |
#endif |
private: |