aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/SkMutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/private/SkMutex.h')
-rw-r--r--include/private/SkMutex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/private/SkMutex.h b/include/private/SkMutex.h
index 503b1e8efc..b9af00f8a8 100644
--- a/include/private/SkMutex.h
+++ b/include/private/SkMutex.h
@@ -12,6 +12,9 @@
#include "../private/SkThreadID.h"
#include "SkTypes.h"
+// TODO: no need for this anymore.
+#define SK_DECLARE_STATIC_MUTEX(name) static SkMutex name;
+
class SkMutex {
public:
constexpr SkMutex() = default;