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

Unified Diff: cc/animation/layer_animation_controller_unittest.cc

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
« no previous file with comments | « no previous file | cc/animation/transform_operation.h » ('j') | cc/animation/transform_operation.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_controller_unittest.cc
diff --git a/cc/animation/layer_animation_controller_unittest.cc b/cc/animation/layer_animation_controller_unittest.cc
index 6e94734fc3e0cca812b96afc294091ea96834dff..b4a8167dee353786306a6d838da58cefa727528f 100644
--- a/cc/animation/layer_animation_controller_unittest.cc
+++ b/cc/animation/layer_animation_controller_unittest.cc
@@ -18,8 +18,9 @@
namespace cc {
namespace {
-void ExpectTranslateX(double translate_x, const gfx::Transform& matrix) {
- EXPECT_FLOAT_EQ(translate_x, matrix.matrix().getDouble(0, 3)); }
+void ExpectTranslateX(SkMScalar translate_x, const gfx::Transform& matrix) {
danakj 2013/09/09 17:57:45 Nothing seems to use this? Delete it?
enne (OOO) 2013/09/10 22:32:32 Done.
+ EXPECT_FLOAT_EQ(translate_x, matrix.matrix().get(0, 3));
+}
scoped_ptr<Animation> CreateAnimation(scoped_ptr<AnimationCurve> curve,
int id,
« no previous file with comments | « no previous file | cc/animation/transform_operation.h » ('j') | cc/animation/transform_operation.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698