| Index: src/gpu/batches/GrBatch.cpp
|
| diff --git a/src/gpu/batches/GrBatch.cpp b/src/gpu/batches/GrBatch.cpp
|
| index 19c19ffcf1d05d1d988a4c6172ff507c05a811c0..8af1c1e0880ddd0673cbeeb1adf628c25c47b69f 100644
|
| --- a/src/gpu/batches/GrBatch.cpp
|
| +++ b/src/gpu/batches/GrBatch.cpp
|
| @@ -20,7 +20,7 @@
|
| // memory barrier between accesses of a context on different threads. Also, there may be multiple
|
| // GrContexts and those contexts may be in use concurrently on different threads.
|
| namespace {
|
| -SK_DECLARE_STATIC_SPINLOCK(gBatchSpinlock);
|
| +static SkSpinlock gBatchSpinlock;
|
| class MemoryPoolAccessor {
|
| public:
|
| MemoryPoolAccessor() { gBatchSpinlock.acquire(); }
|
|
|