Index: src/core/SkLayerInfo.h |
diff --git a/src/core/SkLayerInfo.h b/src/core/SkLayerInfo.h |
index 54c4f7b705ee2e8ec3c6d88c69a0e64b23a2e7b2..5d598ef50a89f6bf73b05ebe25ff89ed425affd3 100644 |
--- a/src/core/SkLayerInfo.h |
+++ b/src/core/SkLayerInfo.h |
@@ -19,7 +19,11 @@ public: |
class BlockInfo { |
public: |
BlockInfo() : fPicture(NULL), fPaint(NULL), fKey(NULL), fKeySize(0) {} |
- ~BlockInfo() { SkSafeUnref(fPicture); SkDELETE(fPaint); SkDELETE_ARRAY(fKey); } |
+ ~BlockInfo() { |
+ SkSafeUnref(fPicture); |
+ delete fPaint; |
+ delete[] fKey; |
+ } |
// The picture owning the layer. If the owning picture is the top-most |
// one (i.e., the picture for which this SkLayerInfo was created) then |