diff options
author | Mike Klein <mtklein@chromium.org> | 2017-02-22 12:49:29 -0500 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2017-02-22 18:02:09 +0000 |
commit | d7e86a525224b845f8d5f54ffbd05e54a78e45d9 (patch) | |
tree | 5680933b062d03115aacf972594a94a07f9df7b0 /src/core/SkTaskGroup.h | |
parent | e549a05dc20c84597b324b19b9764136da54e5f1 (diff) |
fix typo in SkTaskGroup.h
This was meant to stay -1 (num_cores() threads) not to become 1 (1 thread).
Change-Id: Ib9b8e1963c0cd16d4c0aba02ccf7a65890a5ef78
Reviewed-on: https://skia-review.googlesource.com/8851
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkTaskGroup.h')
-rw-r--r-- | src/core/SkTaskGroup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkTaskGroup.h b/src/core/SkTaskGroup.h index 209cb1810f..cba9eea366 100644 --- a/src/core/SkTaskGroup.h +++ b/src/core/SkTaskGroup.h @@ -32,7 +32,7 @@ public: // A convenience for testing tools. // Creates and owns a thread pool, and passes it to SkExecutor::SetDefault(). struct Enabler { - explicit Enabler(int threads = 1); // -1 -> num_cores, 0 -> noop + explicit Enabler(int threads = -1); // -1 -> num_cores, 0 -> noop std::unique_ptr<SkExecutor> fThreadPool; }; |