Chromium Code Reviews| Index: src/core/SkTaskGroup.h |
| diff --git a/src/core/SkTaskGroup.h b/src/core/SkTaskGroup.h |
| index 0f793f31e25540b15ef164f0b6719d99a7fd81a4..0d86cdb82934fefa17274c4a99e714f7751aa8b0 100644 |
| --- a/src/core/SkTaskGroup.h |
| +++ b/src/core/SkTaskGroup.h |
| @@ -39,4 +39,7 @@ |
| SkAtomic<int32_t> fPending; |
| }; |
| +// Returns best estimate of number of CPU cores available to use. |
| +int sk_num_cores(); |
| + |
| #endif//SkTaskGroup_DEFINED |