diff options
author | Hal Canary <halcanary@google.com> | 2017-01-31 13:50:44 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-02 12:49:17 +0000 |
commit | 6f6961ebad65c582318564b3688e78e5c99f3935 (patch) | |
tree | 7144abfca88062d39092c567a006b6787297a50b /src/gpu/GrProcessor.cpp | |
parent | 351b045a5e2cbfe41abf4296f9a984ea9ac307e8 (diff) |
make GR_TEST_UTILS=0 work
Change-Id: Icce35140ca08b65217b32e6b1ffc6ad2f38ab37f
Reviewed-on: https://skia-review.googlesource.com/7840
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/gpu/GrProcessor.cpp')
-rw-r--r-- | src/gpu/GrProcessor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp index 56d3e7f1a4..897a755902 100644 --- a/src/gpu/GrProcessor.cpp +++ b/src/gpu/GrProcessor.cpp @@ -17,7 +17,7 @@ #include "SkSpinlock.h" #if SK_ALLOW_STATIC_GLOBAL_INITIALIZERS - +#if GR_TEST_UTILS class GrFragmentProcessor; class GrGeometryProcessor; @@ -80,6 +80,7 @@ void GrXPFactoryTestFactory::VerifyFactoryCount() { } #endif +#endif // We use a global pool protected by a mutex(spinlock). Chrome may use the same GrContext on |