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

Unified Diff: cc/test/layer_test_common.cc

Issue 2171143002: cc: Get rid of non-delegated rendering in most cc unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@killdirecttests
Patch Set: fakeoutputsurface: no-constructor 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 | « cc/test/fake_output_surface.cc ('k') | cc/test/layer_tree_host_common_test.h » ('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 be054de47d218d26add8cf24f8a682bd638ca105..b08f7444bbe3484f116b36488663c82638ced00a 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -119,8 +119,7 @@ LayerTestCommon::LayerImplTest::LayerImplTest()
: LayerImplTest(LayerTreeSettingsForTesting()) {}
LayerTestCommon::LayerImplTest::LayerImplTest(const LayerTreeSettings& settings)
- : client_(FakeLayerTreeHostClient::DIRECT_3D),
- output_surface_(FakeOutputSurface::Create3d()),
+ : output_surface_(FakeOutputSurface::CreateDelegating3d()),
host_(FakeLayerTreeHost::Create(&client_, &task_graph_runner_, settings)),
render_pass_(RenderPass::Create()),
layer_impl_id_(2) {
« no previous file with comments | « cc/test/fake_output_surface.cc ('k') | cc/test/layer_tree_host_common_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698