Index: Source/core/svg/SVGLengthContext.h |
diff --git a/Source/core/svg/SVGLengthContext.h b/Source/core/svg/SVGLengthContext.h |
index 0e184e53da4e3d46a8a88e8295b38b1be8ce0cde..7166fd18c49f10aef8bc2156c25bed55464a922b 100644 |
--- a/Source/core/svg/SVGLengthContext.h |
+++ b/Source/core/svg/SVGLengthContext.h |
@@ -21,6 +21,7 @@ |
#define SVGLengthContext_h |
#include "core/svg/SVGUnitTypes.h" |
+#include "platform/Length.h" |
#include "platform/geometry/FloatRect.h" |
namespace blink { |
@@ -66,6 +67,8 @@ public: |
float convertValueToUserUnits(float, SVGLengthMode, SVGLengthType fromUnit) const; |
float convertValueFromUserUnits(float, SVGLengthMode, SVGLengthType toUnit) const; |
+ float valueForLength(const Length&, SVGLengthMode = LengthModeOther); |
+ |
bool determineViewport(FloatSize&) const; |
private: |