| Index: third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp
|
| index ef7723369f058d73a7baa6ccc55cb92dfb5f844b..f6e6fb66e2013fe82a9c30380460e507fbc45a37 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp
|
| @@ -50,7 +50,7 @@ SVGTextMetrics::SVGTextMetrics(LineLayoutSVGInlineText textLayoutItem, const Tex
|
|
|
| // Calculate width/height using the scaled font, divide this result by the scalingFactor afterwards.
|
| m_width = scaledFont.width(run) / scalingFactor;
|
| - m_height = scaledFont.fontMetrics().floatHeight() / scalingFactor;
|
| + m_height = scaledFont.getFontMetrics().floatHeight() / scalingFactor;
|
|
|
| ASSERT(run.length() >= 0);
|
| m_length = static_cast<unsigned>(run.length());
|
| @@ -98,7 +98,7 @@ SVGTextMetrics::SVGTextMetrics(LineLayoutSVGInlineText textLayoutItem, unsigned
|
| ASSERT(scalingFactor);
|
|
|
| m_width = width / scalingFactor;
|
| - m_height = textLayoutItem.scaledFont().fontMetrics().floatHeight() / scalingFactor;
|
| + m_height = textLayoutItem.scaledFont().getFontMetrics().floatHeight() / scalingFactor;
|
|
|
| m_length = length;
|
| }
|
|
|