Index: bench/SkGlyphCacheBench.cpp |
diff --git a/bench/SkGlyphCacheBench.cpp b/bench/SkGlyphCacheBench.cpp |
index c99b5728fd305e2d5afbb633b90a92216fcac905..2e0429fce34a3babd0b9ed055b6f58f3f223eca6 100644 |
--- a/bench/SkGlyphCacheBench.cpp |
+++ b/bench/SkGlyphCacheBench.cpp |
@@ -95,7 +95,7 @@ protected: |
sk_tool_utils::create_portable_typeface("sans-serif", SkTypeface::kItalic)}; |
for (int work = 0; work < loops; work++) { |
- sk_parallel_for(16, [&](int threadIndex) { |
+ SkTaskGroup().batch(16, [&](int threadIndex) { |
SkPaint paint; |
paint.setAntiAlias(true); |
paint.setSubpixelText(true); |