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 915a3fa0a8ca2afe9e07644fb13e6cb906a40323..90adfd1ab05e4ffa7106cfc00539d219763fd8e0 100644 |
--- a/cc/resources/tile_task_worker_pool.h |
+++ b/cc/resources/tile_task_worker_pool.h |
@@ -5,7 +5,6 @@ |
#ifndef CC_RESOURCES_TILE_TASK_WORKER_POOL_H_ |
#define CC_RESOURCES_TILE_TASK_WORKER_POOL_H_ |
-#include "base/threading/platform_thread.h" |
#include "cc/resources/tile_task_runner.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/geometry/size.h" |
@@ -27,20 +26,6 @@ class CC_EXPORT TileTaskWorkerPool { |
TileTaskWorkerPool(); |
virtual ~TileTaskWorkerPool(); |
- // Set the number of threads to use for the global TaskGraphRunner instance. |
- // This can only be called once and must be called prior to |
- // GetNumWorkerThreads(). |
- static void SetNumWorkerThreads(int num_threads); |
- |
- // Returns the number of threads used for the global TaskGraphRunner instance. |
- static int GetNumWorkerThreads(); |
- |
- // Set the priority of worker threads. |
- static void SetWorkerThreadPriority(base::ThreadPriority priority); |
- |
- // Returns a pointer to the global TaskGraphRunner instance. |
- static TaskGraphRunner* GetTaskGraphRunner(); |
- |
// Utility function that can be used to create a "Task set finished" task that |
// posts |callback| to |task_runner| when run. |
static scoped_refptr<TileTask> CreateTaskSetFinishedTask( |