Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index cc239da773142f736fc473b1ea41ef43fec1eb96..94766458369506397bbfeac9606e97af467b2e0e 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -5931,8 +5931,7 @@ TEST_F(LayerTreeHostImplTest, MemoryPolicy) { |
// when visible. |
LayerTreeSettings settings; |
settings.gpu_rasterization_enabled = true; |
- host_impl_ = LayerTreeHostImpl::Create( |
- settings, this, &proxy_, &stats_instrumentation_, NULL, NULL, NULL, 0); |
+ CreateHostImpl(settings, CreateOutputSurface()); |
host_impl_->set_content_is_suitable_for_gpu_rasterization(true); |
host_impl_->set_has_gpu_rasterization_trigger(true); |
host_impl_->UpdateGpuRasterizationStatus(); |