Index: src/utils/SkRTConf.cpp |
diff --git a/src/utils/SkRTConf.cpp b/src/utils/SkRTConf.cpp |
index 5c99d2706c73889ed98daa806775fc96709cba91..f441bf143b9b849d554b204b958e108aeb3a453e 100644 |
--- a/src/utils/SkRTConf.cpp |
+++ b/src/utils/SkRTConf.cpp |
@@ -46,8 +46,8 @@ SkRTConfRegistry::SkRTConfRegistry(): fConfs(100) { |
continue; |
} |
- SkString* key = SkNEW_ARGS(SkString,(keyptr)); |
- SkString* val = SkNEW_ARGS(SkString,(valptr)); |
+ SkString *key = new SkString(keyptr); |
+ SkString *val = new SkString(valptr); |
fConfigFileKeys.append(1, &key); |
fConfigFileValues.append(1, &val); |
@@ -64,8 +64,8 @@ SkRTConfRegistry::~SkRTConfRegistry() { |
} |
for (int i = 0 ; i < fConfigFileKeys.count() ; i++) { |
- SkDELETE(fConfigFileKeys[i]); |
- SkDELETE(fConfigFileValues[i]); |
+ delete fConfigFileKeys[i]; |
+ delete fConfigFileValues[i]; |
} |
} |