Index: src/core/SkPaint.cpp |
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp |
index c9fff0d3c239be3ca2df51f9b5d584ae9f74e941..67bbda16652ca13e043aab6d2b1bc7336e8dbc2c 100644 |
--- a/src/core/SkPaint.cpp |
+++ b/src/core/SkPaint.cpp |
@@ -1457,7 +1457,7 @@ |
* cachedMaskGamma the caller must hold the gMaskGammaCacheMutex and continue |
* to hold it until the returned pointer is refed or forgotten. |
*/ |
-static SkMutex gMaskGammaCacheMutex; |
+SK_DECLARE_STATIC_MUTEX(gMaskGammaCacheMutex); |
static SkMaskGamma* gLinearMaskGamma = nullptr; |
static SkMaskGamma* gMaskGamma = nullptr; |