Index: src/core/SkPixelRef.cpp |
diff --git a/src/core/SkPixelRef.cpp b/src/core/SkPixelRef.cpp |
index 47f958dc38bffc62ebbcda36356a6c52ab79972d..7bcaffe554b9dc2c21d94fbb740ad715d85c13bc 100644 |
--- a/src/core/SkPixelRef.cpp |
+++ b/src/core/SkPixelRef.cpp |
@@ -243,7 +243,7 @@ uint32_t SkPixelRef::getGenerationID() const { |
void SkPixelRef::addGenIDChangeListener(GenIDChangeListener* listener) { |
if (NULL == listener || !this->genIDIsUnique()) { |
// No point in tracking this if we're not going to call it. |
- SkDELETE(listener); |
+ delete listener; |
return; |
} |
*fGenIDChangeListeners.append() = listener; |