aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gradients_no_texture.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-21 15:30:45 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-21 15:30:45 +0000
commitc25cec5f9aa4e8801ae87854adc629c742b9de59 (patch)
tree7879bf0cc68625d21fbc308d272b32ea91ad30f8 /gm/gradients_no_texture.cpp
parent66d3d3a8c2f09ed254ec9153f310abd7f7222b13 (diff)
SkDELETE() -> SkDELETE_ARRAY() in gradients_many test
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) {