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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2778223005: Plumb activation time to main (Closed)
Patch Set: review comment 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_proxy.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 1235c4b512cefe8fcca12adcda63751f3f63121d..3f23a80f4b38faebb1b141f598995498bc8ac7be 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -326,7 +326,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()
+ : -1);
}
void ProxyImpl::NotifyReadyToDraw() {
« no previous file with comments | « cc/trees/layer_tree_host_unittest_proxy.cc ('k') | cc/trees/proxy_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698