Index: src/effects/gradients/SkGradientShader.cpp |
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp |
index ffcbfdd9d2035fa878e02a21e5a7c39f1adbaa7f..fdb6e59e1ca56e52a1450e1400bb07ce0286930a 100644 |
--- a/src/effects/gradients/SkGradientShader.cpp |
+++ b/src/effects/gradients/SkGradientShader.cpp |
@@ -625,7 +625,7 @@ |
return fCache; |
} |
-static SkMutex gGradientCacheMutex; |
+SK_DECLARE_STATIC_MUTEX(gGradientCacheMutex); |
/* |
* Because our caller might rebuild the same (logically the same) gradient |
* over and over, we'd like to return exactly the same "bitmap" if possible, |