Index: cc/raster/gpu_tile_task_worker_pool.cc |
diff --git a/cc/raster/gpu_tile_task_worker_pool.cc b/cc/raster/gpu_tile_task_worker_pool.cc |
index f2806c4e06a1382de97bf820a9b60c25e1e02c41..fb18549fb66d38e070434ec5ba5fb55cbe9f36c0 100644 |
--- a/cc/raster/gpu_tile_task_worker_pool.cc |
+++ b/cc/raster/gpu_tile_task_worker_pool.cc |
@@ -207,11 +207,15 @@ void GpuTileTaskWorkerPool::CheckForCompletedTasks() { |
completed_tasks_.clear(); |
} |
-ResourceFormat GpuTileTaskWorkerPool::GetResourceFormat() const { |
+ResourceFormat GpuTileTaskWorkerPool::GetResourceFormat( |
+ bool must_be_noncompressed, |
+ bool must_support_alpha) const { |
return rasterizer_->resource_provider()->best_render_buffer_format(); |
} |
-bool GpuTileTaskWorkerPool::GetResourceRequiresSwizzle() const { |
+bool GpuTileTaskWorkerPool::GetResourceRequiresSwizzle( |
+ bool must_be_noncompressed, |
+ bool must_support_alpha) const { |
// This doesn't require a swizzle because we rasterize to the correct format. |
return false; |
} |