Index: cc/thread_proxy.cc |
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc |
index 6979a1528265c5a517b49a9d0f9e22005c0dbe15..9824043837e2b028631f55e74ee1fbc99f6618bb 100644 |
--- a/cc/thread_proxy.cc |
+++ b/cc/thread_proxy.cc |
@@ -527,6 +527,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->implTransform(); |
DCHECK_GT(m_layerTreeHostImpl->memoryAllocationLimitBytes(), 0u); |
@@ -586,7 +587,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. |