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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 132683003: cc: Rename LayerImpl::DidLoseOutputSurface to ReleaseResources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/fake_content_layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index f051b335a70ccf4848505efcdc6d8b664c74abee..9683cf5f2756c6988bb8de006c056ad1bbaabc8c 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2606,8 +2606,7 @@ base::TimeDelta LayerTreeHostImpl::LowFrequencyAnimationInterval() const {
void LayerTreeHostImpl::SendReleaseResourcesRecursive(LayerImpl* current) {
DCHECK(current);
- // TODO(boliu): Rename DidLoseOutputSurface to ReleaseResources.
- current->DidLoseOutputSurface();
+ current->ReleaseResources();
if (current->mask_layer())
SendReleaseResourcesRecursive(current->mask_layer());
if (current->replica_layer())
« no previous file with comments | « cc/test/fake_content_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698