Index: src/ports/SkFontConfigInterface_direct.cpp |
diff --git a/src/ports/SkFontConfigInterface_direct.cpp b/src/ports/SkFontConfigInterface_direct.cpp |
index d6fa96a46cfa5c418516a860edbfc9af9937a385..f2360020ad9a585c5b0c61678511357bad630556 100644 |
--- a/src/ports/SkFontConfigInterface_direct.cpp |
+++ b/src/ports/SkFontConfigInterface_direct.cpp |
@@ -32,7 +32,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); } |