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

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: respond to Brian's comments 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_main.cc
diff --git a/cc/trees/proxy_main.cc b/cc/trees/proxy_main.cc
index de79051d4b38e3395e219f1054e431150859bd37..8e94a28f5a500462e8eac85f59a1dc6f891e37a9 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::BeginMainFrameNotExpectedUntil(base::TimeTicks time) {
+ TRACE_EVENT0("cc", "ProxyMain::BeginMainFrameNotExpectedUntil");
+ DCHECK(IsMainThread());
+ layer_tree_host_->BeginMainFrameNotExpectedUntil(time);
+}
+
void ProxyMain::DidCommitAndDrawFrame() {
DCHECK(IsMainThread());
layer_tree_host_->DidCommitAndDrawFrame();

Powered by Google App Engine
This is Rietveld 408576698