Chromium Code Reviews| Index: cc/test/geometry_test_utils.h |
| diff --git a/cc/test/geometry_test_utils.h b/cc/test/geometry_test_utils.h |
| index 30260c11dfda863714e8279a5023beaf9a096c85..0bcb99e4dcdc79a7f23188a201a7afe7dc39bded 100644 |
| --- a/cc/test/geometry_test_utils.h |
| +++ b/cc/test/geometry_test_utils.h |
| @@ -73,6 +73,10 @@ void ExpectTransformationMatrixEq(const WebKit::WebTransformationMatrix& expecte |
| cc::ExpectTransformationMatrixEq(expected, actual); \ |
| } |
| +// Should be used in test code only, for convenience. Production code should use |
| +// the gfx::Transform::GetInverse() API. |
| +gfx::Transform inverse(const gfx::Transform& transform); |
|
danakj
2012/12/19 05:23:06
how about InvertTransform()?
a) we don't have to
|
| + |
| } // namespace cc |
| #endif // CC_TEST_GEOMETRY_TEST_UTILS_H_ |