| Index: Source/core/svg/SVGLengthContext.h
|
| diff --git a/Source/core/svg/SVGLengthContext.h b/Source/core/svg/SVGLengthContext.h
|
| index 360771af518eeb09f596f71330b9c44bd788746c..f8c2231290211737ceb6f7675a4239e66a30d1d7 100644
|
| --- a/Source/core/svg/SVGLengthContext.h
|
| +++ b/Source/core/svg/SVGLengthContext.h
|
| @@ -26,6 +26,7 @@
|
|
|
| namespace blink {
|
|
|
| +class LayoutStyle;
|
| class SVGElement;
|
| class SVGLength;
|
|
|
| @@ -67,11 +68,13 @@ public:
|
| float convertValueToUserUnits(float, SVGLengthMode, SVGLengthType fromUnit) const;
|
| float convertValueFromUserUnits(float, SVGLengthMode, SVGLengthType toUnit) const;
|
|
|
| - float valueForLength(const Length&, SVGLengthMode = LengthModeOther) const;
|
| + float valueForLength(const Length&, const LayoutStyle&, SVGLengthMode = LengthModeOther) const;
|
|
|
| bool determineViewport(FloatSize&) const;
|
|
|
| private:
|
| + float valueForLengthWithZoom(const Length&, float, SVGLengthMode) const;
|
| +
|
| float convertValueFromUserUnitsToEMS(float value) const;
|
| float convertValueFromEMSToUserUnits(float value) const;
|
|
|
|
|