diff options
Diffstat (limited to 'cc/thread_proxy.cc')
-rw-r--r-- | cc/thread_proxy.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc index e759bcf..38ad4a1 100644 --- a/cc/thread_proxy.cc +++ b/cc/thread_proxy.cc @@ -327,6 +327,13 @@ void ThreadProxy::onCanDrawStateChanged(bool canDraw) m_schedulerOnImplThread->setCanDraw(canDraw); } +void ThreadProxy::onHasPendingTreeStateChanged(bool hasPendingTree) +{ + DCHECK(isImplThread()); + TRACE_EVENT1("cc", "ThreadProxy::onHasPendingTreeStateChanged", "hasPendingTree", hasPendingTree); + m_schedulerOnImplThread->setHasPendingTree(hasPendingTree); +} + void ThreadProxy::setNeedsCommitOnImplThread() { DCHECK(isImplThread()); |