Index: src/core/SkTypefaceCache.cpp |
diff --git a/src/core/SkTypefaceCache.cpp b/src/core/SkTypefaceCache.cpp |
index 05a7a8eb5f3beb187447952c9ea1b3bd8a9a98e1..8c53b7fc270afe9a40019ea9ff8dfe911e4571ba 100644 |
--- a/src/core/SkTypefaceCache.cpp |
+++ b/src/core/SkTypefaceCache.cpp |
@@ -64,7 +64,7 @@ SkFontID SkTypefaceCache::NewFontID() { |
return sk_atomic_inc(&gFontID) + 1; |
} |
-SK_DECLARE_STATIC_MUTEX(gMutex); |
+static SkMutex gMutex; |
void SkTypefaceCache::Add(SkTypeface* face) { |
SkAutoMutexAcquire ama(gMutex); |