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

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: sievers review 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 7a0de163cde2c1c21aa67336a1e969dc0b0f214a..e5c1801b538846d9c268d19c3b1ebb6f9672b4e6 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -101,7 +101,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()) {
scoped_ptr<FakeOutputSurface> output_surface = FakeOutputSurface::Create3d();

Powered by Google App Engine
This is Rietveld 408576698