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 850adaaf257ace350b3962103bc05b5de5ead0cd..a6f62f0028dd1e6ccf086ce5cc164786f57fffd3 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 @@ static const GrGLInterface* create_command_buffer_interface() { |
// 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 |
-SK_DECLARE_STATIC_MUTEX(gDisplayMutex); |
+static SkMutex gDisplayMutex; |
static int gActiveDisplayCnt; |
SkTArray<EGLDisplay> gRetiredDisplays; |