From 4ab9caa3fe6ad2cfa5cdabc42fc6653232e6ae60 Mon Sep 17 00:00:00 2001 From: "vollick@google.com" Date: Fri, 14 Sep 2012 20:27:25 +0000 Subject: Fix float constants in LayerChromiumTest To fix win build. BUG= Review URL: https://codereview.chromium.org/10915284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156875 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/compositor_bindings/LayerChromiumTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webkit') diff --git a/webkit/compositor_bindings/LayerChromiumTest.cpp b/webkit/compositor_bindings/LayerChromiumTest.cpp index eb3476b..59fc7ba 100644 --- a/webkit/compositor_bindings/LayerChromiumTest.cpp +++ b/webkit/compositor_bindings/LayerChromiumTest.cpp @@ -797,8 +797,8 @@ TEST(LayerChromiumLayerTreeHostTest, destroyHostWithNonNullRootLayer) static bool addTestAnimation(LayerChromium* layer) { OwnPtr curve(CCKeyframedFloatAnimationCurve::create()); - curve->addKeyframe(CCFloatKeyframe::create(0, 0.3, nullptr)); - curve->addKeyframe(CCFloatKeyframe::create(1, 0.7, nullptr)); + curve->addKeyframe(CCFloatKeyframe::create(0, 0.3f, nullptr)); + curve->addKeyframe(CCFloatKeyframe::create(1, 0.7f, nullptr)); OwnPtr animation(CCActiveAnimation::create(curve.release(), 0, 0, CCActiveAnimation::Opacity)); return layer->addAnimation(animation.release()); -- cgit v1.1