Index: src/gpu/gl/GrGLPath.cpp |
diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp |
index 514c8c738c99a045c50e67961d3d2fce4a67fd73..879edd50905e5978eca3b7277e31ac610bfdf275 100644 |
--- a/src/gpu/gl/GrGLPath.cpp |
+++ b/src/gpu/gl/GrGLPath.cpp |
@@ -30,7 +30,7 @@ inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) { |
GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb); |
GR_STATIC_ASSERT(5 == SkPath::kClose_Verb); |
- SkASSERT(verb >= 0 && (size_t)verb < GR_ARRAY_COUNT(gTable)); |
+ SkASSERT(verb >= 0 && (size_t)verb < SK_ARRAY_COUNT(gTable)); |
return gTable[verb]; |
} |
@@ -50,7 +50,7 @@ inline int num_pts(SkPath::Verb verb) { |
GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb); |
GR_STATIC_ASSERT(5 == SkPath::kClose_Verb); |
- SkASSERT(verb >= 0 && (size_t)verb < GR_ARRAY_COUNT(gTable)); |
+ SkASSERT(verb >= 0 && (size_t)verb < SK_ARRAY_COUNT(gTable)); |
return gTable[verb]; |
} |
#endif |
@@ -65,7 +65,7 @@ inline GrGLenum join_to_gl_join(SkPaint::Join join) { |
GR_STATIC_ASSERT(0 == SkPaint::kMiter_Join); |
GR_STATIC_ASSERT(1 == SkPaint::kRound_Join); |
GR_STATIC_ASSERT(2 == SkPaint::kBevel_Join); |
- GR_STATIC_ASSERT(GR_ARRAY_COUNT(gSkJoinsToGrGLJoins) == SkPaint::kJoinCount); |
+ GR_STATIC_ASSERT(SK_ARRAY_COUNT(gSkJoinsToGrGLJoins) == SkPaint::kJoinCount); |
} |
inline GrGLenum cap_to_gl_cap(SkPaint::Cap cap) { |
@@ -78,7 +78,7 @@ inline GrGLenum cap_to_gl_cap(SkPaint::Cap cap) { |
GR_STATIC_ASSERT(0 == SkPaint::kButt_Cap); |
GR_STATIC_ASSERT(1 == SkPaint::kRound_Cap); |
GR_STATIC_ASSERT(2 == SkPaint::kSquare_Cap); |
- GR_STATIC_ASSERT(GR_ARRAY_COUNT(gSkCapsToGrGLCaps) == SkPaint::kCapCount); |
+ GR_STATIC_ASSERT(SK_ARRAY_COUNT(gSkCapsToGrGLCaps) == SkPaint::kCapCount); |
} |
} |