Index: src/utils/SkTaskGroup.h |
diff --git a/src/utils/SkTaskGroup.h b/src/utils/SkTaskGroup.h |
index dddd4ad442ecb03041f2578c688e8ef8060f43dd..c60ceda52e01d5bc7b6c246bcaf3bc1a4c3caecb 100644 |
--- a/src/utils/SkTaskGroup.h |
+++ b/src/utils/SkTaskGroup.h |
@@ -22,10 +22,12 @@ public: |
SkTaskGroup(); |
~SkTaskGroup() { this->wait(); } |
- // Add a task to this SkTaskGroup. It will likely run() on another thread. |
+ // Add a task to this SkTaskGroup. It will likely run on another thread. |
+ // Neither add() method takes owership of any of its parameters. |
void add(SkRunnable*); |
+ void add(void (*fn)(void*), void* arg); |
- // Block until all Tasks previously add()ed to this SkTaskGroup have run(). |
+ // Block until all Tasks previously add()ed to this SkTaskGroup have run. |
// You may safely reuse this SkTaskGroup after wait() returns. |
void wait(); |