Index: src/ports/SkFontMgr_fontconfig.cpp |
diff --git a/src/ports/SkFontMgr_fontconfig.cpp b/src/ports/SkFontMgr_fontconfig.cpp |
index 610a3001fb2c66e5df68e2fe08f0c34d7c0644f0..32f10a491c9540707b2aac1556fe48cfbff09759 100644 |
--- a/src/ports/SkFontMgr_fontconfig.cpp |
+++ b/src/ports/SkFontMgr_fontconfig.cpp |
@@ -62,7 +62,7 @@ namespace { |
// Fontconfig is not threadsafe before 2.10.91. Before that, we lock with a global mutex. |
// See https://bug.skia.org/1497 for background. |
-SK_DECLARE_STATIC_MUTEX(gFCMutex); |
+static SkMutex gFCMutex; |
#ifdef SK_DEBUG |
void* CreateThreadFcLocked() { return new bool(false); } |