Index: third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h b/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h |
index c973fbd1b2b428acc63358ddef78bf1145d15091..a63d8a914bfd9fede5ee808df3adcd49f57e0b42 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h |
@@ -20,14 +20,12 @@ |
#ifndef SVGTextMetrics_h |
#define SVGTextMetrics_h |
-#include "platform/text/TextDirection.h" |
#include "wtf/Allocator.h" |
namespace blink { |
enum class FontOrientation; |
class LineLayoutSVGInlineText; |
-class TextRun; |
class SVGTextMetrics { |
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
@@ -40,8 +38,6 @@ public: |
SVGTextMetrics(MetricsType); |
SVGTextMetrics(LineLayoutSVGInlineText, unsigned length, float width); |
- static TextRun constructTextRun(LineLayoutSVGInlineText, unsigned position, unsigned length, TextDirection); |
- |
bool isEmpty() const { return !m_width && !m_height && m_length <= 1; } |
float width() const { return m_width; } |