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

Unified Diff: ui/gfx/transform_util.h

Issue 23043011: cc: Use SkMScalar instead of doubles everywhere in cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Finalize test changes Created 7 years, 3 months 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_util.h
diff --git a/ui/gfx/transform_util.h b/ui/gfx/transform_util.h
index b6da7b0782d3b63d461fa685912bff11b0c8cfda..e59dd1c5cda94ffed8dd26f183c7d4cf0fb83034 100644
--- a/ui/gfx/transform_util.h
+++ b/ui/gfx/transform_util.h
@@ -22,11 +22,11 @@ struct UI_EXPORT DecomposedTransform {
// if used with Compose below, will produce the identity transform.
DecomposedTransform();
- double translate[3];
- double scale[3];
- double skew[3];
- double perspective[4];
- double quaternion[4];
+ SkMScalar translate[3];
+ SkMScalar scale[3];
+ SkMScalar skew[3];
+ SkMScalar perspective[4];
+ SkMScalar quaternion[4];
// Copy and assign are allowed.
};

Powered by Google App Engine
This is Rietveld 408576698