Chromium Code Reviews| Index: cc/layers/layer.cc |
| diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
| index a9e59d35ed8007322e6961899eb8ad625c2e9b8a..7ad512f3d862d976ad4ae3059841c139dfa9742a 100644 |
| --- a/cc/layers/layer.cc |
| +++ b/cc/layers/layer.cc |
| @@ -1118,7 +1118,10 @@ bool Layer::AddAnimation(scoped_ptr <Animation> animation) { |
| } |
| void Layer::PauseAnimation(int animation_id, double time_offset) { |
| - layer_animation_controller_->PauseAnimation(animation_id, time_offset); |
| + layer_animation_controller_->PauseAnimation( |
|
enne (OOO)
2014/04/11 14:41:10
Can you push this up another layer to the WebLayer
|
| + animation_id, |
| + base::TimeTicks::FromInternalValue(time_offset * |
| + base::Time::kMicrosecondsPerSecond)); |
| SetNeedsCommit(); |
| } |