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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2778223005: Plumb activation time to main (Closed)
Patch Set: only add activate time if its not already there 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..83693a7c9326a47e692bbeeca431c132e8012f1a 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()
+ : -1);
}
void ProxyImpl::NotifyReadyToDraw() {

Powered by Google App Engine
This is Rietveld 408576698