Chromium Code Reviews| Index: cc/resources/worker_pool.h |
| diff --git a/cc/resources/worker_pool.h b/cc/resources/worker_pool.h |
| old mode 100644 |
| new mode 100755 |
| index cc8c39f3642a0997bc990ba9484aab87612909df..d9190169df1985f71cfb2e33408351480559c913 |
| --- a/cc/resources/worker_pool.h |
| +++ b/cc/resources/worker_pool.h |
| @@ -108,6 +108,10 @@ class CC_EXPORT WorkerPool { |
| // Force a check for completed tasks. |
| virtual void CheckForCompletedTasks(); |
| + // Changed the access specifier to be available for Lazy Instance |
| + class Inner; |
| + friend class Inner; |
|
reveman
2013/11/15 17:21:41
I don't think it should be a subclass anymore if y
|
| + |
| protected: |
| // A task graph contains a unique set of tasks with edges between |
| // dependencies pointing in the direction of the dependents. Each task |
| @@ -125,17 +129,11 @@ class CC_EXPORT WorkerPool { |
| void SetTaskGraph(TaskGraph* graph); |
| private: |
| - class Inner; |
| - friend class Inner; |
| - |
| typedef std::vector<scoped_refptr<internal::WorkerPoolTask> > TaskVector; |
| void ProcessCompletedTasks(const TaskVector& completed_tasks); |
| bool in_dispatch_completion_callbacks_; |
| - |
| - // Hide the gory details of the worker pool in |inner_|. |
| - const scoped_ptr<Inner> inner_; |
| }; |
| } // namespace cc |