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

Unified Diff: cc/test/layer_test_common.cc

Issue 2659883003: cc: Remove direct calls to LayerImpl::SetHasRenderSurface from tests (Closed)
Patch Set: Created 3 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/layers/render_surface_unittest.cc ('k') | cc/tiles/tile_manager_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 679e0273be81870d7ccd3ce54e1d9718d9d2e2bb..a6753ce9f528179e7f340af03182e9ca2924a140 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -130,7 +130,6 @@ LayerTestCommon::LayerImplTest::LayerImplTest(const LayerTreeSettings& settings)
std::unique_ptr<LayerImpl> root =
LayerImpl::Create(host_->host_impl()->active_tree(), 1);
host_->host_impl()->active_tree()->SetRootLayerForTesting(std::move(root));
- root_layer_for_testing()->SetHasRenderSurface(true);
host_->host_impl()->SetVisible(true);
EXPECT_TRUE(
host_->host_impl()->InitializeRenderer(compositor_frame_sink_.get()));
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/tiles/tile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698