Index: src/gpu/GrResourceCache.cpp |
diff --git a/src/gpu/GrResourceCache.cpp b/src/gpu/GrResourceCache.cpp |
index 938f016ed19a227c3949023788eaefe54040caed..ba8b9629eb4fd81ef4d32df02814a61cf30ac429 100644 |
--- a/src/gpu/GrResourceCache.cpp |
+++ b/src/gpu/GrResourceCache.cpp |
@@ -18,7 +18,7 @@ GrResourceKey::ResourceType GrResourceKey::GenerateResourceType() { |
int32_t type = sk_atomic_inc(&gNextType); |
if (type >= (1 << 8 * sizeof(ResourceType))) { |
- GrCrash("Too many Resource Types"); |
+ SkFAIL("Too many Resource Types"); |
} |
return static_cast<ResourceType>(type); |