| Index: cc/test/layer_tree_test_common.cc
|
| diff --git a/cc/test/layer_tree_test_common.cc b/cc/test/layer_tree_test_common.cc
|
| index 846e8079602c0a20450c43b6835cba4ef2abeb18..60b3fb40b9cc0388724526d2c85b40a8f253dfdd 100644
|
| --- a/cc/test/layer_tree_test_common.cc
|
| +++ b/cc/test/layer_tree_test_common.cc
|
| @@ -125,7 +125,7 @@ void MockLayerTreeHostImpl::drawLayers(const FrameData& frame)
|
| m_testHooks->drawLayersOnThread(this);
|
| }
|
|
|
| -void MockLayerTreeHostImpl::animateLayers(double monotonicTime, double wallClockTime)
|
| +void MockLayerTreeHostImpl::animateLayers(base::TimeTicks monotonicTime, base::Time wallClockTime)
|
| {
|
| m_testHooks->willAnimateLayers(this, monotonicTime);
|
| LayerTreeHostImpl::animateLayers(monotonicTime, wallClockTime);
|
| @@ -216,7 +216,7 @@ public:
|
|
|
| virtual void animate(double monotonicTime) OVERRIDE
|
| {
|
| - m_testHooks->animate(monotonicTime);
|
| + m_testHooks->animate(base::TimeTicks::FromInternalValue(monotonicTime * base::Time::kMicrosecondsPerSecond));
|
| }
|
|
|
| virtual void layout() OVERRIDE
|
|
|