Index: tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp |
diff --git a/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp |
index a6f62f0028dd1e6ccf086ce5cc164786f57fffd3..850adaaf257ace350b3962103bc05b5de5ead0cd 100644 |
--- a/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp |
+++ b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp |
@@ -142,7 +142,7 @@ |
// We use a poor man's garbage collector of EGLDisplays. They are only |
// terminated when there are no more EGLDisplays in use. See crbug.com/603223 |
-static SkMutex gDisplayMutex; |
+SK_DECLARE_STATIC_MUTEX(gDisplayMutex); |
static int gActiveDisplayCnt; |
SkTArray<EGLDisplay> gRetiredDisplays; |