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

Unified Diff: cc/animation/transform_operation.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: cc/animation/transform_operation.h
diff --git a/cc/animation/transform_operation.h b/cc/animation/transform_operation.h
index d5f2830daf6263534f5732c2da01277f281a250f..47036733478bff0b742be0346657736154814fe6 100644
--- a/cc/animation/transform_operation.h
+++ b/cc/animation/transform_operation.h
@@ -32,26 +32,26 @@ struct TransformOperation {
gfx::Transform matrix;
union {
- double perspective_depth;
+ SkMScalar perspective_depth;
struct {
- double x, y;
+ SkMScalar x, y;
} skew;
struct {
- double x, y, z;
+ SkMScalar x, y, z;
} scale;
struct {
- double x, y, z;
+ SkMScalar x, y, z;
} translate;
struct {
struct {
- double x, y, z;
+ SkMScalar x, y, z;
} axis;
- double angle;
+ SkMScalar angle;
} rotate;
};

Powered by Google App Engine
This is Rietveld 408576698