Index: src/core/SkPixelRef.cpp |
diff --git a/src/core/SkPixelRef.cpp b/src/core/SkPixelRef.cpp |
index 6a26ca0e01efa6559bddabf421b6f1ec426ee7a1..bfa4ae24d944cbeb39bcdd21fd5b817db7949293 100644 |
--- a/src/core/SkPixelRef.cpp |
+++ b/src/core/SkPixelRef.cpp |
@@ -13,25 +13,25 @@ |
#ifdef SK_USE_POSIX_THREADS |
static SkBaseMutex gPixelRefMutexRing[] = { |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
- { PTHREAD_MUTEX_INITIALIZER }, { PTHREAD_MUTEX_INITIALIZER }, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
+ SK_BASE_MUTEX_INIT, SK_BASE_MUTEX_INIT, |
}; |
// must be a power-of-2. undef to just use 1 mutex |