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