diff --git a/src/core/SkVMBlitter.cpp b/src/core/SkVMBlitter.cpp index 3cde37ab42..ca8b93b8da 100644 --- a/src/core/SkVMBlitter.cpp +++ b/src/core/SkVMBlitter.cpp @@ -44,9 +44,10 @@ namespace { } static SkLRUCache* try_acquire_program_cache() { - #if defined(SK_BUILD_FOR_IOS) && defined(__arm) - // Some troublemaker build configurations (so far {Flutter,G3}/iOS/armv7) don't - // support thread_local. We could use an SkSpinlock and tryAcquire()/release(), or... + #if defined(SK_BUILD_FOR_IOS) + // iOS doesn't support thread_local on versions less than 9.0. pthread + // based fallbacks must be used there. We could also use an SkSpinlock + // and tryAcquire()/release(), or... return nullptr; // ... we could just not cache programs on those platforms. #else thread_local static auto* cache = new SkLRUCache{8};