Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: src/gpu/GrCacheID.cpp

Issue 257393004: Convert GrCrash->SkFAIL GrDebugCrash->SkDEBUGFAIL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace change Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrCacheID.cpp
diff --git a/src/gpu/GrCacheID.cpp b/src/gpu/GrCacheID.cpp
index 87917ac995eec69efb79cc0c882dfa10447e05d4..8d0be0da5a9ad195f387fde24d00aa4fb04585dc 100644
--- a/src/gpu/GrCacheID.cpp
+++ b/src/gpu/GrCacheID.cpp
@@ -27,7 +27,7 @@ GrCacheID::Domain GrCacheID::GenerateDomain() {
int32_t domain = sk_atomic_inc(&gNextDomain);
if (domain >= 1 << (8 * sizeof(Domain))) {
- GrCrash("Too many Cache Domains");
+ SkFAIL("Too many Cache Domains");
}
return static_cast<Domain>(domain);

Powered by Google App Engine
This is Rietveld 408576698