Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index a2f349ba9c02d5257e8b1e433fe161d9abc1d006..f10fd6367bbcecdc3ba5b4b53f798152ace372b1 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -935,7 +935,7 @@ int nanobench_main(); |
int nanobench_main() { |
SetupCrashHandler(); |
SkAutoGraphics ag; |
- SkTaskGroup::Enabler enabled; |
+ SkTaskGroup::Enabler enabled(FLAGS_threads); |
#if SK_SUPPORT_GPU |
GrContextOptions grContextOpts; |