Index: cc/thread_proxy.cc |
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc |
index 2618400e9892c986af41d146b1cbfe0d694235b1..88c3e62eb27ff377c07c9795dd4cf921c3458c94 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. |