summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/css/WebKitCSSMatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/css/WebKitCSSMatrix.cpp')
-rw-r--r--Source/WebCore/css/WebKitCSSMatrix.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/WebCore/css/WebKitCSSMatrix.cpp b/Source/WebCore/css/WebKitCSSMatrix.cpp
index 14f6b4e..163eac8 100644
--- a/Source/WebCore/css/WebKitCSSMatrix.cpp
+++ b/Source/WebCore/css/WebKitCSSMatrix.cpp
@@ -91,9 +91,7 @@ PassRefPtr<WebKitCSSMatrix> WebKitCSSMatrix::multiply(WebKitCSSMatrix* secondMat
if (!secondMatrix)
return 0;
- TransformationMatrix tmp(secondMatrix->m_matrix);
- tmp.multiply(m_matrix);
- return WebKitCSSMatrix::create(tmp);
+ return WebKitCSSMatrix::create(TransformationMatrix(m_matrix).multiply(secondMatrix->m_matrix));
}
PassRefPtr<WebKitCSSMatrix> WebKitCSSMatrix::inverse(ExceptionCode& ec) const