Chromium Code Reviews| Index: cc/thread_proxy.cc |
| diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc |
| index 139eddcc6c8eea4c38eec9b5f18809ddaffb3353..a88b3de20b014e8a887970bbdde6d2a59d544f92 100644 |
| --- a/cc/thread_proxy.cc |
| +++ b/cc/thread_proxy.cc |
| @@ -847,7 +847,7 @@ ScheduledActionDrawAndSwapResult ThreadProxy::scheduledActionDrawAndSwapInternal |
| LayerTreeHostImpl::FrameData frame; |
| bool drawFrame = m_layerTreeHostImpl->canDraw() && (m_layerTreeHostImpl->prepareToDraw(frame) || forcedDraw); |
|
nduca
2013/03/13 05:53:28
i think we should pass the lastVsynctime to animat
egraether
2013/03/13 22:26:01
I think you are right, but I'm not sure what side
|
| if (drawFrame) { |
| - m_layerTreeHostImpl->drawLayers(frame); |
| + m_layerTreeHostImpl->drawLayers(frame, m_schedulerOnImplThread->lastDrawTime()); |
| result.didDraw = true; |
| } |
| m_layerTreeHostImpl->didDrawAllLayers(frame); |