Index: src/ports/SkFontHost_mac.cpp |
diff --git a/src/ports/SkFontHost_mac.cpp b/src/ports/SkFontHost_mac.cpp |
index bfacb0786092c078ebe53e7f3ee48f9aa9b23a3d..b55aa355f1350d2b767211a3dbe412ab59861d2e 100755 |
--- a/src/ports/SkFontHost_mac.cpp |
+++ b/src/ports/SkFontHost_mac.cpp |
@@ -53,7 +53,7 @@ |
#define USE_GLOBAL_MUTEX_FOR_CG_ACCESS |
#ifdef USE_GLOBAL_MUTEX_FOR_CG_ACCESS |
- static SkMutex gCGMutex; |
+ SK_DECLARE_STATIC_MUTEX(gCGMutex); |
#define AUTO_CG_LOCK() SkAutoMutexAcquire amc(gCGMutex) |
#else |
#define AUTO_CG_LOCK() |