| Index: tests/CanvasTest.cpp
|
| diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
|
| index c80e6bef95c6da4918b50c4c3b949dbaa70dfb04..f7976356e0c7a03430b1232d58385186fa0b7bdb 100644
|
| --- a/tests/CanvasTest.cpp
|
| +++ b/tests/CanvasTest.cpp
|
| @@ -654,7 +654,7 @@ static void test_newraster(skiatest::Reporter* reporter) {
|
| }
|
| addr = (const SkPMColor*)((const char*)addr + rowBytes);
|
| }
|
| - SkDELETE(canvas);
|
| + delete canvas;
|
|
|
| // now try a deliberately bad info
|
| info = info.makeWH(-1, info.height());
|
| @@ -672,7 +672,7 @@ static void test_newraster(skiatest::Reporter* reporter) {
|
| info = SkImageInfo::MakeN32Premul(0, 0);
|
| canvas = SkCanvas::NewRasterDirect(info, baseAddr, minRowBytes);
|
| REPORTER_ASSERT(reporter, canvas);
|
| - SkDELETE(canvas);
|
| + delete canvas;
|
| }
|
|
|
| DEF_TEST(Canvas, reporter) {
|
|
|