Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1796)

Unified Diff: cc/trees/proxy_impl.cc

Issue 2778223005: Plumb activation time to main (Closed)
Patch Set: update test; remove test-only method in proxy_main Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index afced7e5c421a56d9cd9e32cb309272c6b659e5f..f0aa54f1cae35b456e77a7bbfa9aa30d8f765fdb 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -319,7 +319,10 @@ void ProxyImpl::OnCanDrawStateChanged(bool can_draw) {
void ProxyImpl::NotifyReadyToActivate() {
TRACE_EVENT0("cc", "ProxyImpl::NotifyReadyToActivate");
DCHECK(IsImplThread());
- scheduler_->NotifyReadyToActivate();
+ scheduler_->NotifyReadyToActivate(
+ layer_tree_host_impl_->pending_tree()
+ ? layer_tree_host_impl_->pending_tree()->source_frame_number()
+ : 0);
}
void ProxyImpl::NotifyReadyToDraw() {

Powered by Google App Engine
This is Rietveld 408576698