Index: ui/compositor/test/test_layer_animation_delegate.cc |
diff --git a/ui/compositor/test/test_layer_animation_delegate.cc b/ui/compositor/test/test_layer_animation_delegate.cc |
index d452fc0ce8de7ed3587d55c00b8aef94dbf2eb46..ce875e68efaab8c2debf7be2a33e277ae7a353ab 100644 |
--- a/ui/compositor/test/test_layer_animation_delegate.cc |
+++ b/ui/compositor/test/test_layer_animation_delegate.cc |
@@ -63,8 +63,7 @@ const gfx::Rect& TestLayerAnimationDelegate::GetBoundsForAnimation() const { |
return bounds_; |
} |
-const gfx::Transform& |
-TestLayerAnimationDelegate::GetTransformForAnimation() const { |
+gfx::Transform TestLayerAnimationDelegate::GetTransformForAnimation() const { |
return transform_; |
} |
@@ -88,6 +87,10 @@ SkColor TestLayerAnimationDelegate::GetColorForAnimation() const { |
return color_; |
} |
+float TestLayerAnimationDelegate::GetDeviceScaleFactor() const { |
+ return 1.0f; |
+} |
+ |
void TestLayerAnimationDelegate::AddThreadedAnimation( |
scoped_ptr<cc::Animation> animation) { |
} |