Index: src/gpu/GrProcessor.cpp |
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp |
index 15206c2c857ca50deaea270bbe98e4511ed8bb7c..aef51908dac7caadc09a8302de2fd13e38fa4996 100644 |
--- a/src/gpu/GrProcessor.cpp |
+++ b/src/gpu/GrProcessor.cpp |
@@ -81,7 +81,7 @@ void GrProcessorTestFactory<GrXPFactory>::VerifyFactoryCount() { |
// 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(gProcessorSpinlock); |
+static SkSpinlock gProcessorSpinlock; |
class MemoryPoolAccessor { |
public: |
MemoryPoolAccessor() { gProcessorSpinlock.acquire(); } |