Index: src/core/SkSemaphore.cpp |
diff --git a/src/core/SkSemaphore.cpp b/src/core/SkSemaphore.cpp |
index ac62930082d553fb8473618134fa2a932e423931..29d0e0148af37ced6dfd52d768237bb27c93098d 100644 |
--- a/src/core/SkSemaphore.cpp |
+++ b/src/core/SkSemaphore.cpp |
@@ -55,8 +55,8 @@ |
}; |
#endif |
-SkSemaphore::SkSemaphore() : fCount(0), fOSSemaphore(SkNEW(OSSemaphore)) {} |
-SkSemaphore::~SkSemaphore() { SkDELETE(fOSSemaphore); } |
+ SkSemaphore::SkSemaphore() : fCount(0), fOSSemaphore(new OSSemaphore) {} |
+ SkSemaphore::~SkSemaphore() { delete fOSSemaphore; } |
void SkSemaphore::signal(int n) { |
SkASSERT(n >= 0); |