Index: cc/trees/single_thread_proxy.cc |
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc |
index 0386145c7c55fea08e4f34362dd5f3536b1b1a02..2e7a4fbc75a7692d03111f0a0c087259efb2100f 100644 |
--- a/cc/trees/single_thread_proxy.cc |
+++ b/cc/trees/single_thread_proxy.cc |
@@ -319,8 +319,11 @@ void SingleThreadProxy::OnCanDrawStateChanged(bool can_draw) { |
void SingleThreadProxy::NotifyReadyToActivate() { |
TRACE_EVENT0("cc", "SingleThreadProxy::NotifyReadyToActivate"); |
DebugScopedSetImplThread impl(task_runner_provider_); |
- if (scheduler_on_impl_thread_) |
- scheduler_on_impl_thread_->NotifyReadyToActivate(); |
+ if (scheduler_on_impl_thread_) { |
+ // The argument to NotifyReadyToActivate is the pending-tree for computing |
+ // Activation time in ProxyImpl. However this is not applicable here. |
+ scheduler_on_impl_thread_->NotifyReadyToActivate(0); |
+ } |
} |
void SingleThreadProxy::NotifyReadyToDraw() { |