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

Unified Diff: src/gpu/GrTextureAccess.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/GrTextureAccess.cpp
diff --git a/src/gpu/GrTextureAccess.cpp b/src/gpu/GrTextureAccess.cpp
index e4b078698defb932f4bdf5bf3f316f18b4724677..91db08bea5438543313be4c81934bd0a6bcb5f7e 100644
--- a/src/gpu/GrTextureAccess.cpp
+++ b/src/gpu/GrTextureAccess.cpp
@@ -100,7 +100,7 @@ void GrTextureAccess::setSwizzle(const char* swizzle) {
fSwizzleMask |= kA_GrColorComponentFlag;
break;
default:
- GrCrash("Unexpected swizzle string character.");
+ SkFAIL("Unexpected swizzle string character.");
break;
}
}
« include/core/SkTypes.h ('K') | « src/gpu/GrStencil.cpp ('k') | src/gpu/SkGrFontScaler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698