aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gradients_no_texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/gradients_no_texture.cpp')
-rw-r--r--gm/gradients_no_texture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/gradients_no_texture.cpp b/gm/gradients_no_texture.cpp
index 931fea677e..8086eabbf4 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) {