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

Unified Diff: cc/resources/one_copy_tile_task_worker_pool.h

Issue 860813002: Remove the default format from ResourcePool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error in perftest. Created 5 years, 11 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
Index: cc/resources/one_copy_tile_task_worker_pool.h
diff --git a/cc/resources/one_copy_tile_task_worker_pool.h b/cc/resources/one_copy_tile_task_worker_pool.h
index c5b30baec4d4c62c3d3a7a624268a8ea0f5bc607..697879374d613885f09dd2d49580e73cbb34df28 100644
--- a/cc/resources/one_copy_tile_task_worker_pool.h
+++ b/cc/resources/one_copy_tile_task_worker_pool.h
@@ -42,6 +42,7 @@ class CC_EXPORT OneCopyTileTaskWorkerPool : public TileTaskWorkerPool,
// Overridden from TileTaskWorkerPool:
TileTaskRunner* AsTileTaskRunner() override;
+ ResourceFormat GetResourceFormat() override;
// Overridden from TileTaskRunner:
void SetClient(TileTaskRunnerClient* client) override;
@@ -106,6 +107,7 @@ class CC_EXPORT OneCopyTileTaskWorkerPool : public TileTaskWorkerPool,
ContextProvider* context_provider_;
ResourceProvider* resource_provider_;
ResourcePool* resource_pool_;
+ ResourceFormat resource_format_;
reveman 2015/01/22 23:01:46 is this member variable needed? just use resource_
peterp 2015/01/23 13:19:06 Alright. Done.
TaskSetCollection tasks_pending_;
scoped_refptr<TileTask> task_set_finished_tasks_[kNumberOfTaskSets];
CopySequenceNumber last_issued_copy_operation_;

Powered by Google App Engine
This is Rietveld 408576698