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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 1178963003: Trace main thread commit in flow events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Naming and comments improvements. 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
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 9d1c36657e1e410aec6c624f28fe77fef521040d..15628656f2eb97bc1dffa42fcdcb411a08f6895c 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -1300,4 +1300,9 @@ void LayerTreeHost::RecordFrameTimingEvents(
main_frame_events.Pass());
}
+void LayerTreeHost::OnCommitForSwapPromises() {
+ for (auto* swap_promise : swap_promise_list_)
+ swap_promise->OnCommit();
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698