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

Unified Diff: cc/test/layer_tree_pixel_resource_test.cc

Issue 2253823002: cc: Remove all impl-side caps from RendererCapabilitiesImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delete-renderer-base-class
Patch Set: renderercaps: ennereview Created 4 years, 4 months 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/surfaces/display.cc ('k') | cc/test/pixel_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 ca8cf5bdb3583f2ce819c7941c199bc4182ae72c..e68807d33398f1fe8a9c48510ac7c0548b78a180 100644
--- a/cc/test/layer_tree_pixel_resource_test.cc
+++ b/cc/test/layer_tree_pixel_resource_test.cc
@@ -146,7 +146,6 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndRasterBufferProvider(
case RASTER_BUFFER_PROVIDER_TYPE_ZERO_COPY:
EXPECT_TRUE(compositor_context_provider);
EXPECT_EQ(PIXEL_TEST_GL, test_type_);
- EXPECT_TRUE(host_impl->GetRendererCapabilities().using_image);
*raster_buffer_provider = ZeroCopyRasterBufferProvider::Create(
resource_provider, PlatformColor::BestTextureFormat());
@@ -155,7 +154,6 @@ void LayerTreeHostPixelResourceTest::CreateResourceAndRasterBufferProvider(
EXPECT_TRUE(compositor_context_provider);
EXPECT_TRUE(worker_context_provider);
EXPECT_EQ(PIXEL_TEST_GL, test_type_);
- EXPECT_TRUE(host_impl->GetRendererCapabilities().using_image);
*raster_buffer_provider = base::MakeUnique<OneCopyRasterBufferProvider>(
task_runner, compositor_context_provider, worker_context_provider,
« no previous file with comments | « cc/surfaces/display.cc ('k') | cc/test/pixel_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698