Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index 733ecd2dbc6d4eca593b8c0fc9a1a1d4e875677d..81c7fa5ba749d23db13a8dd56d938d7c4e44cd80 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -1120,7 +1120,11 @@ 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 * |
ajuma
2014/04/24 20:41:36
The second argument to PauseAnimation should be a
Sikugu_
2014/05/05 07:09:19
Done.
|
+ base::Time::kMicrosecondsPerSecond) - |
+ base::TimeTicks()); |
SetNeedsCommit(); |
} |