| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/resources/raster_worker_pool.h" | 5 #include "cc/resources/raster_worker_pool.h" |
| 6 | 6 |
| 7 #include "cc/resources/picture_pile_impl.h" | 7 #include "cc/resources/picture_pile_impl.h" |
| 8 | 8 |
| 9 namespace cc { | 9 namespace cc { |
| 10 | 10 |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 212 |
| 213 bool RasterWorkerPool::ForceUploadToComplete(const RasterTask& raster_task) { | 213 bool RasterWorkerPool::ForceUploadToComplete(const RasterTask& raster_task) { |
| 214 return false; | 214 return false; |
| 215 } | 215 } |
| 216 | 216 |
| 217 void RasterWorkerPool::SetRasterTasks(RasterTask::Queue* queue) { | 217 void RasterWorkerPool::SetRasterTasks(RasterTask::Queue* queue) { |
| 218 raster_tasks_.swap(queue->tasks_); | 218 raster_tasks_.swap(queue->tasks_); |
| 219 } | 219 } |
| 220 | 220 |
| 221 void RasterWorkerPool::ScheduleRasterTasks(const RootTask& root) { | 221 void RasterWorkerPool::ScheduleRasterTasks(const RootTask& root) { |
| 222 WorkerPool::ScheduleTasks(root.internal_); | 222 WorkerPool::ScheduleTasks(root.internal_.get()); |
| 223 } | 223 } |
| 224 | 224 |
| 225 } // namespace cc | 225 } // namespace cc |
| OLD | NEW |