summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGFitToViewBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGFitToViewBox.cpp')
-rw-r--r--WebCore/svg/SVGFitToViewBox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/svg/SVGFitToViewBox.cpp b/WebCore/svg/SVGFitToViewBox.cpp
index 69e077e..13e4c03 100644
--- a/WebCore/svg/SVGFitToViewBox.cpp
+++ b/WebCore/svg/SVGFitToViewBox.cpp
@@ -25,7 +25,7 @@
#if ENABLE(SVG)
#include "SVGFitToViewBox.h"
-#include "AffineTransform.h"
+#include "TransformationMatrix.h"
#include "Document.h"
#include "FloatRect.h"
#include "SVGNames.h"
@@ -80,11 +80,11 @@ bool SVGFitToViewBox::parseViewBox(const UChar*& c, const UChar* end, float& x,
return true;
}
-AffineTransform SVGFitToViewBox::viewBoxToViewTransform(float viewWidth, float viewHeight) const
+TransformationMatrix SVGFitToViewBox::viewBoxToViewTransform(float viewWidth, float viewHeight) const
{
FloatRect viewBoxRect = viewBox();
if (!viewBoxRect.width() || !viewBoxRect.height())
- return AffineTransform();
+ return TransformationMatrix();
return preserveAspectRatio()->getCTM(viewBoxRect.x(),
viewBoxRect.y(), viewBoxRect.width(), viewBoxRect.height(),