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

Unified Diff: cc/resources/raster_worker_pool_perftest.cc

Issue 375303002: cc: Refactor ResourceProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing typing error in build.gn Created 6 years, 5 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/resources/pixel_buffer_raster_worker_pool.cc ('k') | cc/resources/raster_worker_pool_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_worker_pool_perftest.cc
diff --git a/cc/resources/raster_worker_pool_perftest.cc b/cc/resources/raster_worker_pool_perftest.cc
index 6d922ed8b4e4bb7c063373b4d8e9c76e5bf0a645..74bb988144302924e60580c49cb1eb109577ab5a 100644
--- a/cc/resources/raster_worker_pool_perftest.cc
+++ b/cc/resources/raster_worker_pool_perftest.cc
@@ -221,6 +221,7 @@ class RasterWorkerPoolPerfTest
raster_worker_pool_ = PixelBufferRasterWorkerPool::Create(
task_runner_.get(),
task_graph_runner_.get(),
+ context_provider_.get(),
resource_provider_.get(),
std::numeric_limits<size_t>::max());
break;
@@ -234,12 +235,15 @@ class RasterWorkerPoolPerfTest
raster_worker_pool_ =
ImageCopyRasterWorkerPool::Create(task_runner_.get(),
task_graph_runner_.get(),
+ context_provider_.get(),
resource_provider_.get(),
staging_resource_pool_.get());
break;
case RASTER_WORKER_POOL_TYPE_GPU:
- raster_worker_pool_ = GpuRasterWorkerPool::Create(
- task_runner_.get(), resource_provider_.get());
+ raster_worker_pool_ =
+ GpuRasterWorkerPool::Create(task_runner_.get(),
+ context_provider_.get(),
+ resource_provider_.get());
break;
}
« no previous file with comments | « cc/resources/pixel_buffer_raster_worker_pool.cc ('k') | cc/resources/raster_worker_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698