Index: src/utils/SkRunnable.h |
diff --git a/src/utils/SkRunnable.h b/src/utils/SkRunnable.h |
index 5acf4dbc61a4ec4f177c14cf594dc3274c50a26a..7a93b60c898018f6bac149c402703b442c943509 100644 |
--- a/src/utils/SkRunnable.h |
+++ b/src/utils/SkRunnable.h |
@@ -8,18 +8,9 @@ |
#ifndef SkRunnable_DEFINED |
#define SkRunnable_DEFINED |
-template <typename T> |
-struct SkTRunnable { |
- virtual ~SkTRunnable() {}; |
- virtual void run(T&) = 0; |
-}; |
- |
-template <> |
-struct SkTRunnable<void> { |
- virtual ~SkTRunnable() {}; |
+struct SkRunnable { |
+ virtual ~SkRunnable() {}; |
virtual void run() = 0; |
}; |
-typedef SkTRunnable<void> SkRunnable; |
- |
#endif |