Chromium Code Reviews| Index: ui/gfx/transform.cc |
| diff --git a/ui/gfx/transform.cc b/ui/gfx/transform.cc |
| index 53981450964b38141f29b06aabc1747ec4147189..b0e9ba2b65de4600d8df346326892777b397e732 100644 |
| --- a/ui/gfx/transform.cc |
| +++ b/ui/gfx/transform.cc |
| @@ -102,6 +102,10 @@ bool Transform::HasChange() const { |
| return !matrix_.isIdentity(); |
| } |
| +bool Transform::GetInverse(Transform* transform) { |
| + return transform->matrix_.invert(&transform->matrix_); |
|
sky
2011/10/24 16:45:05
Am I missing something. This isn't using anything
pkotwicz
2011/10/24 19:17:13
Thanks for pointing this out. Fixed
|
| +} |
| + |
| void Transform::TransformPoint(gfx::Point& point) const { |
| TransformPointInternal(matrix_, point); |
| } |