aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/views/SkEventSink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/SkEventSink.cpp')
-rw-r--r--src/views/SkEventSink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/SkEventSink.cpp b/src/views/SkEventSink.cpp
index 5345608969..1464fa0fac 100644
--- a/src/views/SkEventSink.cpp
+++ b/src/views/SkEventSink.cpp
@@ -257,7 +257,7 @@ SkEventSink* SkEventSink::FindSink(SkEventSinkID sinkID)
#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,