| Index: cc/CCLayerTreeHostTest.cpp | 
| diff --git a/cc/CCLayerTreeHostTest.cpp b/cc/CCLayerTreeHostTest.cpp | 
| index 129fa613579f66d72857015f5427280eaca8333f..fbb46f40f2e877f35e54d21387184328b2b997af 100644 | 
| --- a/cc/CCLayerTreeHostTest.cpp | 
| +++ b/cc/CCLayerTreeHostTest.cpp | 
| @@ -2188,9 +2188,9 @@ public: | 
| layer->setLayerAnimationDelegate(this); | 
|  | 
| // Any valid CCAnimationCurve will do here. | 
| -        OwnPtr<CCAnimationCurve> curve(CCEaseTimingFunction::create()); | 
| -        OwnPtr<CCActiveAnimation> animation(CCActiveAnimation::create(curve.release(), 1, 1, CCActiveAnimation::Opacity)); | 
| -        layer->layerAnimationController()->addAnimation(animation.release()); | 
| +        scoped_ptr<CCAnimationCurve> curve(CCEaseTimingFunction::create()); | 
| +        scoped_ptr<CCActiveAnimation> animation(CCActiveAnimation::create(curve.Pass(), 1, 1, CCActiveAnimation::Opacity)); | 
| +        layer->layerAnimationController()->addAnimation(animation.Pass()); | 
|  | 
| // We add the animation *before* attaching the layer to the tree. | 
| m_layerTreeHost->rootLayer()->addChild(layer); | 
|  |