Index: ui/compositor/layer_animation_element.cc |
diff --git a/ui/compositor/layer_animation_element.cc b/ui/compositor/layer_animation_element.cc |
index 37fbc3ea935d6a401d62e47da14e2326a2f6713e..1234a04160fd5b11ddc62f835fd262d8e2f1dfc8 100644 |
--- a/ui/compositor/layer_animation_element.cc |
+++ b/ui/compositor/layer_animation_element.cc |
@@ -509,13 +509,10 @@ class ThreadedTransformTransition : public ThreadedLayerAnimationElement { |
protected: |
virtual void OnStart(LayerAnimationDelegate* delegate) OVERRIDE { |
start_ = delegate->GetTransformForAnimation(); |
- gfx::Rect bounds = delegate->GetBoundsForAnimation(); |
float device_scale_factor = delegate->GetDeviceScaleFactor(); |
cc_start_ = Layer::ConvertTransformToCCTransform(start_, |
- bounds, |
device_scale_factor); |
cc_target_ = Layer::ConvertTransformToCCTransform(target_, |
- bounds, |
device_scale_factor); |
} |