aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/MutexBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/MutexBench.cpp')
-rw-r--r--bench/MutexBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/MutexBench.cpp b/bench/MutexBench.cpp
index d9b427b444..af8a840182 100644
--- a/bench/MutexBench.cpp
+++ b/bench/MutexBench.cpp
@@ -23,7 +23,7 @@ protected:
virtual void onDraw(SkCanvas* canvas) {
for (int i = 0; i < N; i++) {
- SkMutex mu;
+ SK_DECLARE_STATIC_MUTEX(mu);
for (int j = 0; j < M; j++) {
mu.acquire();
mu.release();