aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp')
-rw-r--r--tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp
index 850adaaf25..a6f62f0028 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;