Index: src/views/SkEventSink.cpp |
diff --git a/src/views/SkEventSink.cpp b/src/views/SkEventSink.cpp |
index 5345608969436b34f08e38fba95e16821fa47b49..1464fa0facea0a2aa3459d669abdfe67c3025d23 100644 |
--- a/src/views/SkEventSink.cpp |
+++ b/src/views/SkEventSink.cpp |
@@ -257,7 +257,7 @@ |
#include "SkTDict.h" |
#define kMinStringBufferSize 128 |
-static SkMutex gNamedSinkMutex; |
+SK_DECLARE_STATIC_MUTEX(gNamedSinkMutex); |
static SkTDict<SkEventSinkID> gNamedSinkIDs(kMinStringBufferSize); |
/** Register a name/id pair with the system. If the name already exists, |