Chromium Code Reviews| 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..7432ad8199e7bbe5d1af532325050cf68287dcf9 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 |
|
drott
2015/10/19 07:00:04
Could you add a bug report and reference it from h
|
| + // of storing physical and calculate logical. |
| + float advance(FontOrientation) const; |
| unsigned length() const { return m_length; } |
| private: |