Index: third_party/WebKit/Source/platform/transforms/TransformationMatrix.h |
diff --git a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h |
index 7e2cf9d89a717c5243e47634fc1be9aabfef21d8..dbe56b42cf9e31bcc7c8cd4994472b2c30d5385c 100644 |
--- a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h |
+++ b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h |
@@ -319,6 +319,9 @@ public: |
AffineTransform toAffineTransform() const; |
+ // Flatten into a 2-D transformation (lossy!) |
+ void flattenTo2d(); |
chrishtr
2016/03/15 23:06:42
Add a note that this is the same as gfx::Transform
dmazzoni
2016/03/16 05:42:01
Done.
|
+ |
bool operator==(const TransformationMatrix& m2) const |
{ |
return m_matrix[0][0] == m2.m_matrix[0][0] |