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

Unified Diff: cc/test/layer_test_common.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 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
Index: cc/test/layer_test_common.cc
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc
index f5d65a22c7a06df09d6bd9a92e3b55e0e8f5ba6f..b4d13375b82b8959faea324caad2cc0857a3db14 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -144,6 +144,7 @@ LayerTestCommon::LayerImplTest::LayerImplTest(const LayerTreeSettings& settings)
LayerTestCommon::LayerImplTest::~LayerImplTest() {
host_->animation_host()->RemoveAnimationTimeline(timeline_);
timeline_ = nullptr;
+ host_->host_impl()->ReleaseOutputSurface();
}
void LayerTestCommon::LayerImplTest::CalcDrawProps(

Powered by Google App Engine
This is Rietveld 408576698