| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h
|
| index 5084e1ec4f999da4aa606f461781f81c79478dbe..112b3f041ee2681dec4d733e96564371398257b8 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.h
|
| @@ -24,6 +24,8 @@
|
|
|
| #include "core/layout/LayoutText.h"
|
| #include "core/layout/svg/SVGTextLayoutAttributes.h"
|
| +#include "core/layout/svg/SVGTextMetrics.h"
|
| +#include "wtf/Vector.h"
|
|
|
| namespace blink {
|
|
|
| @@ -35,6 +37,9 @@ public:
|
| SVGTextLayoutAttributes* layoutAttributes() { return &m_layoutAttributes; }
|
| const SVGTextLayoutAttributes* layoutAttributes() const { return &m_layoutAttributes; }
|
|
|
| + Vector<SVGTextMetrics>& metricsList() { return m_metrics; }
|
| + const Vector<SVGTextMetrics>& metricsList() const { return m_metrics; }
|
| +
|
| float scalingFactor() const { return m_scalingFactor; }
|
| const Font& scaledFont() const { return m_scaledFont; }
|
| void updateScaledFont();
|
| @@ -66,6 +71,7 @@ private:
|
| float m_scalingFactor;
|
| Font m_scaledFont;
|
| SVGTextLayoutAttributes m_layoutAttributes;
|
| + Vector<SVGTextMetrics> m_metrics;
|
| };
|
|
|
| DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGInlineText, isSVGInlineText());
|
|
|