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..1da688c26970d0863779c13887111ff07f4db26d 100644 |
--- a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h |
+++ b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h |
@@ -319,6 +319,10 @@ public: |
AffineTransform toAffineTransform() const; |
+ // Flatten into a 2-D transformation (non-invertable). |
+ // Same as gfx::Transform::FlattenTo2d(); see the docs for that function for details and discussion. |
+ void flattenTo2d(); |
+ |
bool operator==(const TransformationMatrix& m2) const |
{ |
return m_matrix[0][0] == m2.m_matrix[0][0] |