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

Unified Diff: cc/trees/thread_proxy.cc

Issue 1178963003: Trace main thread commit in flow events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make OnCommitForSwapPromises non pure so that not all the derived classes need to implement it. Created 5 years, 6 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
« cc/output/swap_promise.h ('K') | « cc/trees/layer_tree_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 94e8d89b7118cdbb4deec6686726189c51e08bba..f032156c9ca1c26b5ce87c467936940a0558ca55 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -867,6 +867,8 @@ void ThreadProxy::BeginMainFrame(
{
TRACE_EVENT0("cc", "ThreadProxy::BeginMainFrame::commit");
+ layer_tree_host()->TraceCommit();
+
DebugScopedSetMainThreadBlocked main_thread_blocked(this);
// This CapturePostTasks should be destroyed before CommitComplete() is
« cc/output/swap_promise.h ('K') | « cc/trees/layer_tree_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698