Index: src/utils/mac/SkStream_mac.cpp |
diff --git a/src/utils/mac/SkStream_mac.cpp b/src/utils/mac/SkStream_mac.cpp |
index 26884711ed3976621c6beefe00291f63b94e19bd..e62ced220fabace1b8b45a72c39b7b4e035e1fa3 100644 |
--- a/src/utils/mac/SkStream_mac.cpp |
+++ b/src/utils/mac/SkStream_mac.cpp |
@@ -20,7 +20,7 @@ static void delete_stream_proc(void* info, const void* addr, size_t size) { |
SkStream* stream = (SkStream*)info; |
SkASSERT(stream->getMemoryBase() == addr); |
SkASSERT(stream->getLength() == size); |
- SkDELETE(stream); |
+ delete stream; |
} |
// These are used by CGDataProviderSequentialCallbacks |
@@ -42,7 +42,7 @@ static void rewind_proc(void* info) { |
// Used when info is an SkStream. |
static void release_info_proc(void* info) { |
SkASSERT(info); |
- SkDELETE((SkStream*)info); |
+ delete (SkStream*)info; |
} |
CGDataProviderRef SkCreateDataProviderFromStream(SkStream* stream) { |