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

Unified Diff: cc/resources/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/tile_task_worker_pool.h
diff --git a/cc/resources/tile_task_worker_pool.h b/cc/resources/tile_task_worker_pool.h
index cb7d4b08776c384c746ac902db0037489f8c704a..ad4a938bbfe4354d12da414ddadc934a1bbeed70 100644
--- a/cc/resources/tile_task_worker_pool.h
+++ b/cc/resources/tile_task_worker_pool.h
@@ -80,6 +80,9 @@ class CC_EXPORT TileTaskWorkerPool {
// Type-checking downcast routine.
virtual TileTaskRunner* AsTileTaskRunner() = 0;
+
+ // Returns the most appropriate format to use.
+ virtual ResourceFormat GetResourceFormat() = 0;
reveman 2015/01/22 23:01:46 How about we make this part of the TileTaskRunner
peterp 2015/01/23 13:19:06 Good idea. Done.
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698