Chromium Code Reviews| Index: src/core/SkTaskGroup.h |
| diff --git a/src/core/SkTaskGroup.h b/src/core/SkTaskGroup.h |
| index 76afe9d92fee7e3ee2d3e6a1dd845128f1782185..f68c528a1ffd56c1e03e831465380b0871772d67 100644 |
| --- a/src/core/SkTaskGroup.h |
| +++ b/src/core/SkTaskGroup.h |
| @@ -53,6 +53,8 @@ private: |
| // Returns best estimate of number of CPU cores available to use. |
| int sk_num_cores(); |
| +int sk_parallel_for_thread_count(); |
| + |
| // Call f(i) for i in [0, end). |
| template <typename Func> |
| void sk_parallel_for(int end, const Func& f) { |