Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: src/utils/SkRTConf.cpp

Issue 1316123003: Style Change: SkNEW->new; SkDELETE->delete (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-26 (Wednesday) 15:59:00 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/utils/SkPatchUtils.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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];
}
}
« no previous file with comments | « src/utils/SkPatchUtils.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698