Index: third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp |
diff --git a/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp b/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp |
index 4290ed2c5d4899bc4e360a8866451371cca14f57..b3657e9ff4c1fd39a176e092648cb933d22a578e 100644 |
--- a/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp |
+++ b/third_party/WebKit/Source/core/geometry/DOMMatrixReadOnly.cpp |
@@ -276,7 +276,7 @@ DOMMatrix* DOMMatrixReadOnly::inverse() { |
DOMPoint* DOMMatrixReadOnly::transformPoint(const DOMPointInit& point) { |
if (is2D() && point.z() == 0 && point.w() == 1) { |
- double x = point.x() * m11() + point.y() * m12() + m41(); |
+ double x = point.x() * m11() + point.y() * m21() + m41(); |
double y = point.x() * m12() + point.y() * m22() + m42(); |
return DOMPoint::Create(x, y, 0, 1); |
} |