aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-12 15:21:16 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-12 15:21:16 +0000
commitdcbd6e358af8f1208d18dfec4bb86f8645b2a44d (patch)
tree40cad2d5df56e08db59ee9d7699911624558df05 /include/core
parent2eba795bcda66813fdc7a7c4388a99ae9cb2c864 (diff)
remove unused bool param to SkMutex constructor
git-svn-id: http://skia.googlecode.com/svn/trunk@3025 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-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();