| Index: cc/raster_worker_pool.cc
|
| diff --git a/cc/raster_worker_pool.cc b/cc/raster_worker_pool.cc
|
| index bc6e50e7084ad8c9e94ca42afe7b098b107a7f92..13113b5f1bfde8bf7289a9d32bad34de8d86ad99 100644
|
| --- a/cc/raster_worker_pool.cc
|
| +++ b/cc/raster_worker_pool.cc
|
| @@ -23,6 +23,7 @@ class RasterWorkerPoolTaskImpl : public internal::WorkerPoolTask {
|
|
|
| virtual void Run(RenderingStats* rendering_stats) OVERRIDE {
|
| task_.Run(picture_pile_.get(), rendering_stats);
|
| + base::subtle::Release_Store(&completed_, 1);
|
| }
|
|
|
| private:
|
| @@ -32,8 +33,9 @@ class RasterWorkerPoolTaskImpl : public internal::WorkerPoolTask {
|
|
|
| } // namespace
|
|
|
| -RasterWorkerPool::RasterWorkerPool(size_t num_threads)
|
| - : WorkerPool(num_threads) {
|
| +RasterWorkerPool::RasterWorkerPool(
|
| + WorkerPoolClient* client, size_t num_threads)
|
| + : WorkerPool(client, num_threads) {
|
| }
|
|
|
| RasterWorkerPool::~RasterWorkerPool() {
|
|
|