Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index 8a2b7e408d8d8ee1503bee58831ad6c92cd4899d..a111a5518bd0d3ff35bacf6828f7c514292c88f2 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( |
+ animation_id, |
+ base::TimeTicks::FromInternalValue(time_offset * |
danakj
2014/04/09 16:34:15
Is converting back and forth from double to time t
Sikugu_
2014/04/10 14:04:57
Keeping this as it is to avoid jitter.
Will take c
|
+ base::Time::kMicrosecondsPerSecond)); |
SetNeedsCommit(); |
} |