Index: src/utils/SkCamera.cpp |
diff --git a/src/utils/SkCamera.cpp b/src/utils/SkCamera.cpp |
index d9f9cf545038d2ab19500d548ecf8e2987ba76e8..c7389cefeb9b80d4e261b62a37b7fcc4caa3850c 100644 |
--- a/src/utils/SkCamera.cpp |
+++ b/src/utils/SkCamera.cpp |
@@ -291,13 +291,13 @@ Sk3DView::~Sk3DView() { |
Rec* rec = fRec; |
while (rec != &fInitialRec) { |
Rec* next = rec->fNext; |
- SkDELETE(rec); |
+ delete rec; |
rec = next; |
} |
} |
void Sk3DView::save() { |
- Rec* rec = SkNEW(Rec); |
+ Rec* rec = new Rec; |
rec->fNext = fRec; |
rec->fMatrix = fRec->fMatrix; |
fRec = rec; |
@@ -306,7 +306,7 @@ void Sk3DView::save() { |
void Sk3DView::restore() { |
SkASSERT(fRec != &fInitialRec); |
Rec* next = fRec->fNext; |
- SkDELETE(fRec); |
+ delete fRec; |
fRec = next; |
} |