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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2778223005: Plumb activation time to main (Closed)
Patch Set: add a vector instead of single activate frame time 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..695938a9469d7257de6fbcb63911a9d2b6d25a66 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -575,6 +575,13 @@ void ProxyImpl::SendBeginMainFrameNotExpectedSoon() {
proxy_main_weak_ptr_));
}
+int ProxyImpl::SyncTreeSourceFrameNumber() {
vmpstr 2017/04/05 19:11:33 Based on the name, is this meant to check LTHI::sy
panicker 2017/04/08 00:29:07 I do want the pending tree. Should I rename the me
+ if (layer_tree_host_impl_->pending_tree())
+ return layer_tree_host_impl_->pending_tree()->source_frame_number();
+ else
+ return 0;
+}
+
DrawResult ProxyImpl::DrawInternal(bool forced_draw) {
TRACE_EVENT_SYNTHETIC_DELAY("cc.Draw");

Powered by Google App Engine
This is Rietveld 408576698