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

Unified Diff: cc/test/layer_test_common.cc

Issue 348093004: Make cc output surface creation async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 4daca5d2f9e544a3a98691772874bb334c9244e7..4b68b8b0dec81b149d79524c9363ddf2c41e7e50 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -100,7 +100,8 @@ void LayerTestCommon::VerifyQuadsCoverRectWithOcclusion(
}
LayerTestCommon::LayerImplTest::LayerImplTest()
- : host_(FakeLayerTreeHost::Create()),
+ : client_(FakeLayerTreeHostClient::DIRECT_3D),
+ host_(FakeLayerTreeHost::Create(&client_)),
root_layer_impl_(LayerImpl::Create(host_->host_impl()->active_tree(), 1)),
render_pass_(RenderPass::Create()),
quad_culler_(make_scoped_ptr(

Powered by Google App Engine
This is Rietveld 408576698