summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_test_common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/layer_test_common.cc')
-rw-r--r--cc/test/layer_test_common.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc
index 66e49a8..85fbf6b 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -86,4 +86,11 @@ void LayerTestCommon::VerifyQuadsCoverRectWithOcclusion(
}
}
+LayerTestCommon::LayerImplTest::LayerImplTest()
+ : host_(FakeLayerTreeHost::Create()),
+ root_layer_impl_(
+ LayerImpl::Create(host_->host_impl()->active_tree(), 1)) {}
+
+LayerTestCommon::LayerImplTest::~LayerImplTest() {}
+
} // namespace cc