Index: tools/sk_tool_utils_font.cpp |
diff --git a/tools/sk_tool_utils_font.cpp b/tools/sk_tool_utils_font.cpp |
index 67f86d1bb69dc8e1eb06abbe788307574562a7bc..adbfa1692b3191057e481591580baeed125b254c 100644 |
--- a/tools/sk_tool_utils_font.cpp |
+++ b/tools/sk_tool_utils_font.cpp |
@@ -27,7 +27,7 @@ |
} |
} |
-static SkMutex gTestFontMutex; |
+SK_DECLARE_STATIC_MUTEX(gTestFontMutex); |
SkTypeface* create_font(const char* name, SkTypeface::Style style) { |
SkTestFontData* fontData = nullptr; |