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

Unified Diff: src/core/SkTaskGroup.h

Issue 1705583003: clean up more dead code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 years, 10 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 | « gyp/utils.gypi ('k') | src/core/SkTaskGroup.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkTaskGroup.h
diff --git a/src/core/SkTaskGroup.h b/src/core/SkTaskGroup.h
index e6c36651fd50772a67b417e2044447e6c120fcdb..0d86cdb82934fefa17274c4a99e714f7751aa8b0 100644
--- a/src/core/SkTaskGroup.h
+++ b/src/core/SkTaskGroup.h
@@ -14,8 +14,6 @@
#include "SkAtomics.h"
#include "SkTemplates.h"
-struct SkRunnable;
-
class SkTaskGroup : SkNoncopyable {
public:
// Create one of these in main() to enable SkTaskGroups globally.
@@ -28,9 +26,6 @@ public:
~SkTaskGroup() { this->wait(); }
// 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(std::function<void(void)> fn);
// Add a batch of N tasks, all calling fn with different arguments.
« no previous file with comments | « gyp/utils.gypi ('k') | src/core/SkTaskGroup.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698