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

Unified Diff: cc/test/layer_test_common.cc

Issue 2181763005: cc: Make LayerTreeImpl tests stop subclassing LayerImplTest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lthcommontest-harness3
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 | cc/trees/layer_tree_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_test_common.cc
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc
index b08f7444bbe3484f116b36488663c82638ced00a..bf7a0aa4df887218ac745c72041d4ed196e53355 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -128,7 +128,7 @@ LayerTestCommon::LayerImplTest::LayerImplTest(const LayerTreeSettings& settings)
host_->host_impl()->active_tree()->SetRootLayerForTesting(std::move(root));
root_layer_for_testing()->SetHasRenderSurface(true);
host_->host_impl()->SetVisible(true);
- host_->host_impl()->InitializeRenderer(output_surface_.get());
+ EXPECT_TRUE(host_->host_impl()->InitializeRenderer(output_surface_.get()));
const int timeline_id = AnimationIdProvider::NextTimelineId();
timeline_ = AnimationTimeline::Create(timeline_id);
« no previous file with comments | « no previous file | cc/trees/layer_tree_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698