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

Unified Diff: include/private/SkTHash.h

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 | « include/private/SkFunction.h ('k') | include/private/SkTemplates.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/SkTHash.h
diff --git a/include/private/SkTHash.h b/include/private/SkTHash.h
index 561fc89b59e35dd23a1a61f18752da18a8c1a5f7..53d52754bd36340db546c92b0d8309f90cdee5f2 100644
--- a/include/private/SkTHash.h
+++ b/include/private/SkTHash.h
@@ -29,7 +29,7 @@ public:
// Clear the table.
void reset() {
this->~SkTHashTable();
- SkNEW_PLACEMENT(this, SkTHashTable);
+ new (this) SkTHashTable;
}
// How many entries are in the table?
« no previous file with comments | « include/private/SkFunction.h ('k') | include/private/SkTemplates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698