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

Unified Diff: src/gpu/GrBlend.cpp

Issue 22850006: Replace uses of GrAssert by SkASSERT. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « src/gpu/GrBinHashKey.h ('k') | src/gpu/GrBufferAllocPool.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrBlend.cpp
diff --git a/src/gpu/GrBlend.cpp b/src/gpu/GrBlend.cpp
index 5d6f4723355c47816e5e5075cc916de1e4beebdf..31e45fa57981e5f1245946d5f4db4d9bbb6ab081 100644
--- a/src/gpu/GrBlend.cpp
+++ b/src/gpu/GrBlend.cpp
@@ -58,8 +58,8 @@ static GrColor simplify_blend_term(GrBlendCoeff* srcCoeff,
GrColor dstColor, uint32_t dstCompFlags,
GrColor constantColor) {
- GrAssert(!GrBlendCoeffRefsSrc(*srcCoeff));
- GrAssert(NULL != srcCoeff);
+ SkASSERT(!GrBlendCoeffRefsSrc(*srcCoeff));
+ SkASSERT(NULL != srcCoeff);
// Check whether srcCoeff can be reduced to kOne or kZero based on known color inputs.
// We could pick out the coeff r,g,b,a values here and use them to compute the blend term color,
« no previous file with comments | « src/gpu/GrBinHashKey.h ('k') | src/gpu/GrBufferAllocPool.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698