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

Unified Diff: cc/test/fake_layer_tree_host_impl.cc

Issue 2100353002: cc: DCHECK that the OutputSurface was released in ~LayerTreeHostImpl(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: released-outputsurface: rebase-on-2106273002 Created 4 years, 6 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/layers/picture_layer_unittest.cc ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host_impl.cc
diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc
index d8d79567892a23a64bf7a2643617df63f1d62ec8..43713d0a1d509883c5c0eb3b12f63c94bca1c422 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -62,7 +62,9 @@ FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(
CreateBeginFrameArgsForTesting(BEGINFRAME_FROM_HERE, time_ticks));
}
-FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() {}
+FakeLayerTreeHostImpl::~FakeLayerTreeHostImpl() {
+ ReleaseOutputSurface();
+}
void FakeLayerTreeHostImpl::CreatePendingTree() {
LayerTreeHostImpl::CreatePendingTree();
« no previous file with comments | « cc/layers/picture_layer_unittest.cc ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698