Index: Source/core/svg/SVGLengthContext.h |
diff --git a/Source/core/svg/SVGLengthContext.h b/Source/core/svg/SVGLengthContext.h |
index 5642edb2db1cab31f98bd28a3cd3fb74db5b08a4..43bc3e6cf44aaa0bcd7a52b2e96d7f59b48e645d 100644 |
--- a/Source/core/svg/SVGLengthContext.h |
+++ b/Source/core/svg/SVGLengthContext.h |
@@ -26,7 +26,7 @@ |
namespace blink { |
-class LayoutStyle; |
+class ComputedStyle; |
class SVGElement; |
class SVGLength; |
class UnzoomedLength; |
@@ -70,8 +70,8 @@ public: |
float convertValueFromUserUnits(float, SVGLengthMode, SVGLengthType toUnit) const; |
float valueForLength(const UnzoomedLength&, SVGLengthMode = SVGLengthMode::Other) const; |
- float valueForLength(const Length&, const LayoutStyle&, SVGLengthMode = SVGLengthMode::Other) const; |
- static float valueForLength(const Length&, const LayoutStyle&, float dimension); |
+ float valueForLength(const Length&, const ComputedStyle&, SVGLengthMode = SVGLengthMode::Other) const; |
+ static float valueForLength(const Length&, const ComputedStyle&, float dimension); |
bool determineViewport(FloatSize&) const; |