| Index: cc/trees/occlusion_tracker_perftest.cc
|
| diff --git a/cc/trees/occlusion_tracker_perftest.cc b/cc/trees/occlusion_tracker_perftest.cc
|
| index 209399dce1110e643a9fa4e2bbdfc2108a81b01b..01b63de6279a7a092908b496c37d10d1459347ad 100644
|
| --- a/cc/trees/occlusion_tracker_perftest.cc
|
| +++ b/cc/trees/occlusion_tracker_perftest.cc
|
| @@ -35,13 +35,14 @@ class OcclusionTrackerPerfTest : public testing::Test {
|
| base::TimeDelta::FromMilliseconds(kTimeLimitMillis),
|
| kTimeCheckInterval),
|
| proxy_(base::ThreadTaskRunnerHandle::Get(), nullptr),
|
| - impl_(&proxy_) {}
|
| + impl_(&proxy_),
|
| + output_surface_(FakeOutputSurface::Create3d()) {}
|
| void CreateHost() {
|
| LayerTreeSettings settings;
|
| host_impl_ = LayerTreeHostImpl::Create(settings, &client_, &proxy_, &stats_,
|
| &shared_bitmap_manager_, nullptr,
|
| &task_graph_runner_, 1);
|
| - host_impl_->InitializeRenderer(FakeOutputSurface::Create3d());
|
| + host_impl_->InitializeRenderer(output_surface_.get());
|
|
|
| scoped_ptr<LayerImpl> root_layer = LayerImpl::Create(active_tree(), 1);
|
| root_layer->SetHasRenderSurface(true);
|
| @@ -71,6 +72,7 @@ class OcclusionTrackerPerfTest : public testing::Test {
|
| FakeRenderingStatsInstrumentation stats_;
|
| TestSharedBitmapManager shared_bitmap_manager_;
|
| TestTaskGraphRunner task_graph_runner_;
|
| + scoped_ptr<OutputSurface> output_surface_;
|
| scoped_ptr<LayerTreeHostImpl> host_impl_;
|
| };
|
|
|
|
|