Index: Source/core/layout/svg/SVGTextMetrics.cpp |
diff --git a/Source/core/layout/svg/SVGTextMetrics.cpp b/Source/core/layout/svg/SVGTextMetrics.cpp |
index 6cdced0fe67c4b1d5f5a6d5bf917e403985c0cbb..68beeb2e8370aca7b47265d0f26d547f6ead88c8 100644 |
--- a/Source/core/layout/svg/SVGTextMetrics.cpp |
+++ b/Source/core/layout/svg/SVGTextMetrics.cpp |
@@ -56,12 +56,6 @@ SVGTextMetrics::SVGTextMetrics(LayoutSVGInlineText* textRenderer, const TextRun& |
m_length = static_cast<unsigned>(run.length()); |
} |
-TextRun SVGTextMetrics::constructTextRun(LayoutSVGInlineText* text, unsigned position, unsigned length) |
-{ |
- ASSERT(text->style()); |
- return constructTextRun(text, position, length, text->style()->direction()); |
-} |
- |
TextRun SVGTextMetrics::constructTextRun(LayoutSVGInlineText* text, unsigned position, unsigned length, TextDirection textDirection) |
{ |
const LayoutStyle& style = text->styleRef(); |
@@ -96,12 +90,6 @@ SVGTextMetrics SVGTextMetrics::measureCharacterRange(LayoutSVGInlineText* text, |
return SVGTextMetrics(text, constructTextRun(text, position, length, textDirection)); |
} |
-SVGTextMetrics SVGTextMetrics::measureCharacterRange(LayoutSVGInlineText* text, unsigned position, unsigned length) |
-{ |
- ASSERT(text); |
- return SVGTextMetrics(text, constructTextRun(text, position, length)); |
-} |
- |
SVGTextMetrics::SVGTextMetrics(LayoutSVGInlineText* text, unsigned position, unsigned length, float width) |
{ |
ASSERT(text); |