Index: Source/core/rendering/svg/SVGTextMetrics.h |
diff --git a/Source/core/rendering/svg/SVGTextMetrics.h b/Source/core/rendering/svg/SVGTextMetrics.h |
index b8956140e7628a15ae73ceb49882c6a4c927bb8c..774b9714cfcbca26ad8bcc40095ad61959aa407b 100644 |
--- a/Source/core/rendering/svg/SVGTextMetrics.h |
+++ b/Source/core/rendering/svg/SVGTextMetrics.h |
@@ -20,9 +20,7 @@ |
#ifndef SVGTextMetrics_h |
#define SVGTextMetrics_h |
-#include "platform/fonts/Glyph.h" |
#include "platform/text/TextDirection.h" |
-#include "wtf/text/WTFString.h" |
namespace blink { |
@@ -37,7 +35,7 @@ public: |
SVGTextMetrics(); |
SVGTextMetrics(MetricsType); |
- SVGTextMetrics(RenderSVGInlineText*, unsigned position, unsigned length, float width, Glyph glyphNameGlyphId); |
+ SVGTextMetrics(RenderSVGInlineText*, unsigned position, unsigned length, float width); |
// FIXME: Migrate away from these to the two below. |
static SVGTextMetrics measureCharacterRange(RenderSVGInlineText*, unsigned position, unsigned length); |
@@ -54,16 +52,12 @@ public: |
float height() const { return m_height; } |
unsigned length() const { return m_length; } |
- // Only useful when measuring individual characters, to lookup ligatures. |
- Glyph glyph() const { return m_glyph; } |
- |
private: |
SVGTextMetrics(RenderSVGInlineText*, const TextRun&); |
float m_width; |
float m_height; |
unsigned m_length; |
- Glyph m_glyph; |
}; |
} // namespace blink |