Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: ui/gfx/transform.h

Issue 11644008: Migrate from MathUtil::inverse() to gfx::Transform::GetInverse() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698