Index: Source/core/rendering/svg/SVGTextMetricsBuilder.cpp |
diff --git a/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp b/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp |
index 46a27979e9da770a8d174bdf8b3f2d0a0f87ddb5..f8189602b3c50ac22c7f7e76a9e858409f0d9ec9 100644 |
--- a/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp |
+++ b/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp |
@@ -23,6 +23,7 @@ |
#include "core/rendering/svg/RenderSVGInlineText.h" |
#include "core/rendering/svg/RenderSVGText.h" |
+#include "platform/text/TextPath.h" |
namespace WebCore { |
@@ -101,7 +102,7 @@ void SVGTextMetricsBuilder::initializeMeasurementWithTextRenderer(RenderSVGInlin |
const Font& scaledFont = text->scaledFont(); |
m_run = SVGTextMetrics::constructTextRun(text, 0, text->textLength()); |
- m_isComplexText = scaledFont.codePath(m_run) == Font::Complex; |
+ m_isComplexText = scaledFont.codePath(m_run) == ComplexPath; |
if (m_isComplexText) |
m_simpleWidthIterator.clear(); |