Index: Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h |
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h b/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h |
index 7973d28971cf36b52a86ae1705c2bae6b099af59..a80639e0991d30da5d6ef022772ddfd7a89ee07b 100644 |
--- a/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h |
+++ b/Source/core/rendering/svg/SVGTextLayoutEngineSpacing.h |
@@ -32,7 +32,7 @@ class SVGElement; |
class SVGTextLayoutEngineSpacing { |
WTF_MAKE_NONCOPYABLE(SVGTextLayoutEngineSpacing); |
public: |
- SVGTextLayoutEngineSpacing(const Font&); |
+ SVGTextLayoutEngineSpacing(const Font&, float effectiveZoom); |
float calculateSVGKerning(bool isVerticalText, Glyph currentGlyph); |
float calculateCSSSpacing(UChar currentCharacter); |
@@ -40,6 +40,7 @@ public: |
private: |
const Font& m_font; |
UChar m_lastCharacter; |
+ float m_effectiveZoom; |
#if ENABLE(SVG_FONTS) |
Glyph m_lastGlyph; |