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

Unified Diff: cc/trees/proxy_main.cc

Issue 2753843003: Create a new action triggered when a BeginMainFrame is not expected before vsync (Closed)
Patch Set: missed one Created 3 years, 9 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_main.cc
diff --git a/cc/trees/proxy_main.cc b/cc/trees/proxy_main.cc
index 5b9e7f0e576ca59ba5e35ad962e65c5e0d805468..338f3490d3c58df00e36432da1263638db7ace5d 100644
--- a/cc/trees/proxy_main.cc
+++ b/cc/trees/proxy_main.cc
@@ -74,6 +74,12 @@ void ProxyMain::BeginMainFrameNotExpectedSoon() {
layer_tree_host_->BeginMainFrameNotExpectedSoon();
}
+void ProxyMain::DoShortIdleWork(const BeginFrameArgs& args) {
+ TRACE_EVENT0("cc", "ProxyMain::DoShortIdleWork");
+ DCHECK(IsMainThread());
+ layer_tree_host_->DoShortIdleWork(args);
+}
+
void ProxyMain::DidCommitAndDrawFrame() {
DCHECK(IsMainThread());
layer_tree_host_->DidCommitAndDrawFrame();

Powered by Google App Engine
This is Rietveld 408576698