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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2126813003: cc: Tell scheduler the output surface is lost before releasing it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | 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 0d7e4eee11ebce067fa9468ecb944b1dbde05b4f..f69296deb1bb8fdc9540b48093639cc3ccc68720 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -117,6 +117,7 @@ ProxyImpl::~ProxyImpl() {
// Take away the OutputSurface before destroying things so it doesn't try
// to call into its client mid-shutdown.
+ scheduler_->DidLoseOutputSurface();
layer_tree_host_impl_->ReleaseOutputSurface();
scheduler_ = nullptr;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698