Index: dm/DMJsonWriter.cpp |
diff --git a/dm/DMJsonWriter.cpp b/dm/DMJsonWriter.cpp |
index 7bd8acd6d2d989e070c0d3a380ced8303f29c2af..652c70b8cc72e9c2364da6e6337f059a230edef8 100644 |
--- a/dm/DMJsonWriter.cpp |
+++ b/dm/DMJsonWriter.cpp |
@@ -19,7 +19,7 @@ |
namespace DM { |
SkTArray<JsonWriter::BitmapResult> gBitmapResults; |
-SK_DECLARE_STATIC_MUTEX(gBitmapResultLock); |
+static SkMutex gBitmapResultLock; |
void JsonWriter::AddBitmapResult(const BitmapResult& result) { |
SkAutoMutexAcquire lock(&gBitmapResultLock); |
@@ -27,7 +27,7 @@ void JsonWriter::AddBitmapResult(const BitmapResult& result) { |
} |
SkTArray<skiatest::Failure> gFailures; |
-SK_DECLARE_STATIC_MUTEX(gFailureLock); |
+static SkMutex gFailureLock; |
void JsonWriter::AddTestFailure(const skiatest::Failure& failure) { |
SkAutoMutexAcquire lock(gFailureLock); |