Index: Source/core/dom/DOMMatrixReadOnly.cpp |
diff --git a/Source/core/dom/DOMMatrixReadOnly.cpp b/Source/core/dom/DOMMatrixReadOnly.cpp |
index 887e75fa11d33f6e28a95ce6cd9b86bc1ddceb4e..b92e085fe9ce15f96a904215a06af431be9920fd 100644 |
--- a/Source/core/dom/DOMMatrixReadOnly.cpp |
+++ b/Source/core/dom/DOMMatrixReadOnly.cpp |
@@ -14,10 +14,7 @@ bool DOMMatrixReadOnly::is2D() const |
bool DOMMatrixReadOnly::isIdentity() const |
{ |
- return m11() == 1 && m21() == 0 && m31() == 0 && m41() == 0 |
- && m12() == 0 && m22() == 1 && m32() == 0 && m42() == 0 |
- && m13() == 0 && m23() == 0 && m33() == 1 && m43() == 0 |
- && m14() == 0 && m24() == 0 && m34() == 0 && m44() == 1; |
+ return m_matrix.isIdentity(); |
} |
} // namespace blink |