Index: src/core/SkResourceCache.cpp |
diff --git a/src/core/SkResourceCache.cpp b/src/core/SkResourceCache.cpp |
index e465132288ad09e862f1aafae473ed090db35893..bab3dd707b15fca4df402a8933f74875daa4dca6 100644 |
--- a/src/core/SkResourceCache.cpp |
+++ b/src/core/SkResourceCache.cpp |
@@ -542,7 +542,7 @@ void SkResourceCache::checkMessages() { |
/////////////////////////////////////////////////////////////////////////////// |
-SK_DECLARE_STATIC_MUTEX(gMutex); |
+static SkMutex gMutex; |
static SkResourceCache* gResourceCache = nullptr; |
/** Must hold gMutex when calling. */ |