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

Side by Side Diff: include/gpu/GrTypesPriv.h

Issue 257393004: Convert GrCrash->SkFAIL GrDebugCrash->SkDEBUGFAIL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace change Created 6 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrTypesPriv_DEFINED 8 #ifndef GrTypesPriv_DEFINED
9 #define GrTypesPriv_DEFINED 9 #define GrTypesPriv_DEFINED
10 10
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 switch (edgeType) { 205 switch (edgeType) {
206 case kFillBW_GrEffectEdgeType: 206 case kFillBW_GrEffectEdgeType:
207 return kInverseFillBW_GrEffectEdgeType; 207 return kInverseFillBW_GrEffectEdgeType;
208 case kFillAA_GrEffectEdgeType: 208 case kFillAA_GrEffectEdgeType:
209 return kInverseFillAA_GrEffectEdgeType; 209 return kInverseFillAA_GrEffectEdgeType;
210 case kInverseFillBW_GrEffectEdgeType: 210 case kInverseFillBW_GrEffectEdgeType:
211 return kFillBW_GrEffectEdgeType; 211 return kFillBW_GrEffectEdgeType;
212 case kInverseFillAA_GrEffectEdgeType: 212 case kInverseFillAA_GrEffectEdgeType:
213 return kFillAA_GrEffectEdgeType; 213 return kFillAA_GrEffectEdgeType;
214 case kHairlineAA_GrEffectEdgeType: 214 case kHairlineAA_GrEffectEdgeType:
215 GrCrash("Hairline fill isn't invertible."); 215 SkFAIL("Hairline fill isn't invertible.");
216 } 216 }
217 return kFillAA_GrEffectEdgeType; // suppress warning. 217 return kFillAA_GrEffectEdgeType; // suppress warning.
218 } 218 }
219 219
220 #endif 220 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698