Index: cc/tiles/tile_manager_perftest.cc |
diff --git a/cc/tiles/tile_manager_perftest.cc b/cc/tiles/tile_manager_perftest.cc |
index e5c7106de90f0a424b8611fea3e526fa90155e36..46f9017629c10e5ced3217b81657eeed52d45f3d 100644 |
--- a/cc/tiles/tile_manager_perftest.cc |
+++ b/cc/tiles/tile_manager_perftest.cc |
@@ -37,10 +37,10 @@ static const int kTimeLimitMillis = 2000; |
static const int kWarmupRuns = 5; |
static const int kTimeCheckInterval = 10; |
-class FakeTileTaskRunnerImpl : public TileTaskRunner, |
- public RasterBufferProvider { |
+class FakeTileTaskWorkerPoolImpl : public TileTaskWorkerPool, |
+ public RasterBufferProvider { |
public: |
- // Overridden from TileTaskRunner: |
+ // Overridden from TileTaskWorkerPool: |
void Shutdown() override {} |
void ScheduleTasks(TaskGraph* graph) override { |
for (auto& node : graph->nodes) { |
@@ -84,7 +84,7 @@ class FakeTileTaskRunnerImpl : public TileTaskRunner, |
private: |
TileTask::Vector completed_tasks_; |
}; |
-base::LazyInstance<FakeTileTaskRunnerImpl> g_fake_tile_task_runner = |
+base::LazyInstance<FakeTileTaskWorkerPoolImpl> g_fake_tile_task_worker_pool = |
LAZY_INSTANCE_INITIALIZER; |
class TileManagerPerfTest : public testing::Test { |
@@ -127,8 +127,8 @@ class TileManagerPerfTest : public testing::Test { |
virtual void InitializeRenderer() { |
host_impl_.SetVisible(true); |
host_impl_.InitializeRenderer(output_surface_.get()); |
- tile_manager()->SetTileTaskRunnerForTesting( |
- g_fake_tile_task_runner.Pointer()); |
+ tile_manager()->SetTileTaskWorkerPoolForTesting( |
+ g_fake_tile_task_worker_pool.Pointer()); |
} |
void SetupDefaultTrees(const gfx::Size& layer_bounds) { |