Chromium Code Reviews| Index: cc/test/layer_tree_pixel_resource_test.cc |
| diff --git a/cc/test/layer_tree_pixel_resource_test.cc b/cc/test/layer_tree_pixel_resource_test.cc |
| index 9bd75ac37c2baa39bcedaaa3571caf4e0e47f527..1839643880b45ad4f95f3d6623ddf866dcc17782 100644 |
| --- a/cc/test/layer_tree_pixel_resource_test.cc |
| +++ b/cc/test/layer_tree_pixel_resource_test.cc |
| @@ -159,7 +159,7 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndRasterWorkerPool( |
| case ZERO_COPY_RASTER_WORKER_POOL: |
| EXPECT_TRUE(context_provider); |
| EXPECT_EQ(PIXEL_TEST_GL, test_type_); |
| - EXPECT_TRUE(host_impl->CanUseZeroCopyRasterizer()); |
| + EXPECT_TRUE(host_impl->GetRendererCapabilities().using_image); |
|
enne (OOO)
2014/11/25 23:52:29
I kind of liked the more well-named CanUseFooRaste
reveman
2014/11/26 00:39:18
I'll move these checks into Zero/OneCopyRasterWork
|
| *resource_pool = |
| ResourcePool::Create(resource_provider, |
| draw_texture_target_, |
| @@ -173,7 +173,7 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndRasterWorkerPool( |
| case ONE_COPY_RASTER_WORKER_POOL: |
| EXPECT_TRUE(context_provider); |
| EXPECT_EQ(PIXEL_TEST_GL, test_type_); |
| - EXPECT_TRUE(host_impl->CanUseOneCopyRasterizer()); |
| + EXPECT_TRUE(host_impl->GetRendererCapabilities().using_image); |
| // We need to create a staging resource pool when using copy rasterizer. |
| *staging_resource_pool = |
| ResourcePool::Create(resource_provider, |