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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2379343003: Revert of cc: Remove frame queuing from the scheduler. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « cc/test/test_compositor_frame_sink.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 72f6207f7121dac76f2ed5bc6dfde59b973a456c..64697d7b0dcc7bd4fbf13f4b55a1e3cd7bb75f30 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -100,7 +100,9 @@
// Take away the CompositorFrameSink before destroying things so it doesn't
// try to call into its client mid-shutdown.
+ scheduler_->DidLoseCompositorFrameSink();
layer_tree_host_impl_->ReleaseCompositorFrameSink();
+
scheduler_ = nullptr;
external_begin_frame_source_ = nullptr;
layer_tree_host_impl_ = nullptr;
« no previous file with comments | « cc/test/test_compositor_frame_sink.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698