Index: src/gpu/effects/GrSimpleTextureEffect.cpp |
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp |
index b27b737f39f36dc653a2c641c44efa0354f985af..841561baa970df615a5d9ee2e419537980bf896d 100644 |
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp |
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp |
@@ -73,7 +73,7 @@ GrEffectRef* GrSimpleTextureEffect::TestCreate(SkRandom* random, |
kLocal_GrCoordSet, |
kPosition_GrCoordSet |
}; |
- GrCoordSet coordSet = kCoordSets[random->nextULessThan(GR_ARRAY_COUNT(kCoordSets))]; |
+ GrCoordSet coordSet = kCoordSets[random->nextULessThan(SK_ARRAY_COUNT(kCoordSets))]; |
const SkMatrix& matrix = GrEffectUnitTest::TestMatrix(random); |
return GrSimpleTextureEffect::Create(textures[texIdx], matrix, coordSet); |