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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2778223005: Plumb activation time to main (Closed)
Patch Set: pass 0 for sync tree in NotifyReadyToActivate from SingleThreadProxy 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 39040a4a9f7ab5528fdf64406211dc6d94b7587b..8e57412c8691ab6d569c13dfb4d9ebe3af755224 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -293,7 +293,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