Index: Source/platform/transforms/TransformationMatrix.cpp |
diff --git a/Source/platform/transforms/TransformationMatrix.cpp b/Source/platform/transforms/TransformationMatrix.cpp |
index 2aa16d3be4500569f3b4a30f8828d1f1e45e49b2..0ff20f9bfc50f3279426c3efa6d462cf8fb85297 100644 |
--- a/Source/platform/transforms/TransformationMatrix.cpp |
+++ b/Source/platform/transforms/TransformationMatrix.cpp |
@@ -1088,16 +1088,6 @@ TransformationMatrix& TransformationMatrix::applyPerspective(double p) |
return *this; |
} |
-TransformationMatrix TransformationMatrix::rectToRect(const FloatRect& from, const FloatRect& to) |
-{ |
- ASSERT(!from.isEmpty()); |
- return TransformationMatrix(to.width() / from.width(), |
- 0, 0, |
- to.height() / from.height(), |
- to.x() - from.x(), |
- to.y() - from.y()); |
-} |
- |
// this = mat * this. |
TransformationMatrix& TransformationMatrix::multiply(const TransformationMatrix& mat) |
{ |