aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkThread_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkThread_platform.h')
-rw-r--r--include/core/SkThread_platform.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/core/SkThread_platform.h b/include/core/SkThread_platform.h
index d83f3eddb8..cbb4891c1a 100644
--- a/include/core/SkThread_platform.h
+++ b/include/core/SkThread_platform.h
@@ -59,9 +59,7 @@ SK_API int32_t sk_atomic_dec(int32_t* addr);
class SkMutex : android::Mutex {
public:
- // if isGlobal is true, then ignore any errors in the platform-specific
- // destructor
- SkMutex(bool isGlobal = true) {}
+ SkMutex() {}
~SkMutex() {}
void acquire() { this->lock(); }
@@ -82,9 +80,7 @@ SK_API int32_t sk_atomic_dec(int32_t* addr);
class SkMutex {
public:
- // if isGlobal is true, then ignore any errors in the platform-specific
- // destructor
- SkMutex(bool isGlobal = true);
+ SkMutex();
~SkMutex();
void acquire();