Index: gm/gradients_no_texture.cpp |
diff --git a/gm/gradients_no_texture.cpp b/gm/gradients_no_texture.cpp |
index 931fea677e3bd023204754aaeb184f6f51e80928..8086eabbf45a831b63708d0c55e17c762d2bc561 100644 |
--- a/gm/gradients_no_texture.cpp |
+++ b/gm/gradients_no_texture.cpp |
@@ -134,8 +134,8 @@ struct ColorPos { |
ColorPos() : fColors(NULL), fPos(NULL), fCount(0) {} |
~ColorPos() { |
- SkDELETE(fColors); |
- SkDELETE(fPos); |
+ SkDELETE_ARRAY(fColors); |
+ SkDELETE_ARRAY(fPos); |
} |
void construct(const SkColor colors[], const SkScalar pos[], int count) { |