Chromium Code Reviews| 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? |