| Index: Source/core/rendering/svg/SVGTextRunRenderingContext.h
|
| diff --git a/Source/core/rendering/svg/SVGTextRunRenderingContext.h b/Source/core/rendering/svg/SVGTextRunRenderingContext.h
|
| index 9a06dd9f282135e554b480b866a63cb12df494ee..9743696796e66a772ed2d578aea62cf01b51ee9f 100644
|
| --- a/Source/core/rendering/svg/SVGTextRunRenderingContext.h
|
| +++ b/Source/core/rendering/svg/SVGTextRunRenderingContext.h
|
| @@ -39,9 +39,6 @@ public:
|
| RenderObject* renderer() const { return m_renderer; }
|
|
|
| #if ENABLE(SVG_FONTS)
|
| - 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) 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, Glyph& glyphId) const OVERRIDE;
|
| @@ -54,19 +51,12 @@ public:
|
| private:
|
| SVGTextRunRenderingContext(RenderObject* renderer)
|
| : m_renderer(renderer)
|
| -#if ENABLE(SVG_FONTS)
|
| - , m_activePaintingResource(0)
|
| -#endif
|
| {
|
| }
|
|
|
| virtual ~SVGTextRunRenderingContext() { }
|
|
|
| RenderObject* m_renderer;
|
| -
|
| -#if ENABLE(SVG_FONTS)
|
| - RenderSVGResource* m_activePaintingResource;
|
| -#endif
|
| };
|
|
|
| inline bool textRunNeedsRenderingContext(const Font& font)
|
|
|