Index: cc/thread_proxy.cc |
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc |
index 2d24429e118bbe0978c7fbdea8a9d9dc1d54324b..970a66168b95be80d8d6a34e622ac05cd6f533a8 100644 |
--- a/cc/thread_proxy.cc |
+++ b/cc/thread_proxy.cc |
@@ -563,6 +563,7 @@ void ThreadProxy::scheduledActionBeginFrame() |
TRACE_EVENT0("cc", "ThreadProxy::scheduledActionBeginFrame"); |
scoped_ptr<BeginFrameAndCommitState> beginFrameState(new BeginFrameAndCommitState); |
beginFrameState->monotonicFrameBeginTime = base::TimeTicks::Now(); |
+ beginFrameState->wallClockFrameBeginTime = base::Time::Now(); |
beginFrameState->scrollInfo = m_layerTreeHostImpl->processScrollDeltas(); |
beginFrameState->implTransform = m_layerTreeHostImpl->activeTree()->ImplTransform(); |
DCHECK_GT(m_layerTreeHostImpl->memoryAllocationLimitBytes(), 0u); |
@@ -622,7 +623,7 @@ void ThreadProxy::beginFrame(scoped_ptr<BeginFrameAndCommitState> beginFrameStat |
m_layerTreeHost->willBeginFrame(); |
if (beginFrameState) |
- m_layerTreeHost->updateAnimations(beginFrameState->monotonicFrameBeginTime); |
+ m_layerTreeHost->updateAnimations(beginFrameState->monotonicFrameBeginTime, beginFrameState->wallClockFrameBeginTime); |
// Unlink any backings that the impl thread has evicted, so that we know to re-paint |
// them in updateLayers. |