Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Unified Diff: src/utils/SkTaskGroup.h

Issue 636593002: Restore a really single-threaded mode to DM. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/utils/SkTaskGroup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkTaskGroup.h
diff --git a/src/utils/SkTaskGroup.h b/src/utils/SkTaskGroup.h
index d9e6f597d05b173071acc1254d7045e553431fba..dddd4ad442ecb03041f2578c688e8ef8060f43dd 100644
--- a/src/utils/SkTaskGroup.h
+++ b/src/utils/SkTaskGroup.h
@@ -15,7 +15,7 @@ class SkTaskGroup : SkNoncopyable {
public:
// Create one of these in main() to enable SkTaskGroups globally.
struct Enabler : SkNoncopyable {
- explicit Enabler(int threads = 0); // Default is system-reported core count.
+ explicit Enabler(int threads = -1); // Default is system-reported core count.
~Enabler();
};
« no previous file with comments | « no previous file | src/utils/SkTaskGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698