| 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 469ee41c182f4ed6a8eff383aaedd28de9fb90a1..078cad7d4e513193ac108213fd5b5be43af2dc21 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h
|
| @@ -25,6 +25,7 @@
|
|
|
| namespace blink {
|
|
|
| +enum class FontOrientation;
|
| class LayoutSVGInlineText;
|
| class TextRun;
|
|
|
| @@ -48,6 +49,9 @@ public:
|
| void setWidth(float width) { m_width = width; }
|
|
|
| float height() const { return m_height; }
|
| + // TODO(kojii): We should store logical width (advance) and height instead
|
| + // of storing physical and calculate logical. crbug.com/544767
|
| + float advance(FontOrientation) const;
|
| unsigned length() const { return m_length; }
|
|
|
| private:
|
|
|