Index: src/effects/gradients/SkGradientShader.cpp |
diff --git a/src/effects/gradients/SkGradientShader.cpp b/src/effects/gradients/SkGradientShader.cpp |
index fdb6e59e1ca56e52a1450e1400bb07ce0286930a..ffcbfdd9d2035fa878e02a21e5a7c39f1adbaa7f 100644 |
--- a/src/effects/gradients/SkGradientShader.cpp |
+++ b/src/effects/gradients/SkGradientShader.cpp |
@@ -625,7 +625,7 @@ SkGradientShaderBase::GradientShaderCache* SkGradientShaderBase::refCache(U8CPU |
return fCache; |
} |
-SK_DECLARE_STATIC_MUTEX(gGradientCacheMutex); |
+static SkMutex 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, |