Index: ui/gfx/transform.h |
diff --git a/ui/gfx/transform.h b/ui/gfx/transform.h |
index 7e2cc4f656cbebee76e19d660910d163975b3979..5f23915595813326a2c84c1a07f2cae9417e0c2d 100644 |
--- a/ui/gfx/transform.h |
+++ b/ui/gfx/transform.h |
@@ -20,7 +20,14 @@ class Vector3dF; |
// copy/assign. |
class UI_EXPORT Transform { |
public: |
+ |
+ enum SkipInitialization { |
+ kSkipInitialization |
danakj
2012/12/19 05:23:06
Wishing for shorter synonym for this, but I got no
|
+ }; |
+ |
Transform() : matrix_(SkMatrix44::kIdentity_Constructor) {} |
+ Transform(SkipInitialization) |
+ : matrix_(SkMatrix44::kUninitialized_Constructor) {} |
Transform(const Transform& rhs) : matrix_(rhs.matrix_) {} |
// Initialize with the concatenation of lhs * rhs. |
Transform(const Transform& lhs, const Transform& rhs) |