| Index: src/pathops/SkPathOpsDebug.cpp
|
| diff --git a/src/pathops/SkPathOpsDebug.cpp b/src/pathops/SkPathOpsDebug.cpp
|
| index 61f5096832b365fc391417b3a340452f75f941a4..813f237c7753bc842f835ec15538b81632ce9ff2 100644
|
| --- a/src/pathops/SkPathOpsDebug.cpp
|
| +++ b/src/pathops/SkPathOpsDebug.cpp
|
| @@ -75,13 +75,9 @@ void SkPathOpsDebug::WindingPrintf(int wind) {
|
|
|
|
|
| #if DEBUG_SHOW_TEST_NAME
|
| -void* SkPathOpsDebug::CreateNameStr() {
|
| - return SkNEW_ARRAY(char, DEBUG_FILENAME_STRING_LENGTH);
|
| -}
|
| +void* SkPathOpsDebug::CreateNameStr() { return new char[DEBUG_FILENAME_STRING_LENGTH]; }
|
|
|
| -void SkPathOpsDebug::DeleteNameStr(void* v) {
|
| - SkDELETE_ARRAY(reinterpret_cast<char* >(v));
|
| -}
|
| +void SkPathOpsDebug::DeleteNameStr(void* v) { delete[] reinterpret_cast<char*>(v); }
|
|
|
| void SkPathOpsDebug::BumpTestName(char* test) {
|
| char* num = test + strlen(test);
|
|
|