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

Unified Diff: cc/test/layer_tree_pixel_resource_test.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.cc ('k') | cc/test/layer_tree_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
*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,
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.cc ('k') | cc/test/layer_tree_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698