Index: src/gpu/gl/GrGLPath.cpp |
diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp |
index d46fa03b5e039e04248b4dfdc33466783edd0bce..7bf7df0741e91f12731c1c270232f27bb95b93b1 100644 |
--- a/src/gpu/gl/GrGLPath.cpp |
+++ b/src/gpu/gl/GrGLPath.cpp |
@@ -30,7 +30,7 @@ inline GrGLubyte verb_to_gl_path_cmd(const SkPath::Verb verb) { |
GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb); |
GR_STATIC_ASSERT(5 == SkPath::kClose_Verb); |
- GrAssert(verb >= 0 && (size_t)verb < GR_ARRAY_COUNT(gTable)); |
+ SkASSERT(verb >= 0 && (size_t)verb < GR_ARRAY_COUNT(gTable)); |
return gTable[verb]; |
} |
@@ -50,7 +50,7 @@ inline int num_pts(const SkPath::Verb verb) { |
GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb); |
GR_STATIC_ASSERT(5 == SkPath::kClose_Verb); |
- GrAssert(verb >= 0 && (size_t)verb < GR_ARRAY_COUNT(gTable)); |
+ SkASSERT(verb >= 0 && (size_t)verb < GR_ARRAY_COUNT(gTable)); |
return gTable[verb]; |
} |
#endif |
@@ -84,7 +84,7 @@ GrGLPath::GrGLPath(GrGpuGL* gpu, const SkPath& path) : INHERITED(gpu, kIsWrapped |
pathCommands[i] = verb_to_gl_path_cmd(v); |
GR_DEBUGCODE(numPts += num_pts(v)); |
} |
- GrAssert(pathPoints.count() == numPts); |
+ SkASSERT(pathPoints.count() == numPts); |
GL_CALL(PathCommands(fPathID, |
verbCnt, &pathCommands[0], |