Index: src/ports/SkTLS_win.cpp |
diff --git a/src/ports/SkTLS_win.cpp b/src/ports/SkTLS_win.cpp |
index 3f0084240886ff505943513eb725af34cf0e929a..8bc55a0f2cfe9c04bf15fd4015321773b400a31a 100644 |
--- a/src/ports/SkTLS_win.cpp |
+++ b/src/ports/SkTLS_win.cpp |
@@ -12,7 +12,7 @@ |
static bool gOnce = false; |
static DWORD gTlsIndex; |
-static SkMutex gMutex; |
+SK_DECLARE_STATIC_MUTEX(gMutex); |
void* SkTLS::PlatformGetSpecific(bool forceCreateTheSlot) { |
if (!forceCreateTheSlot && !gOnce) { |