diff options
author | halcanary <halcanary@google.com> | 2015-08-26 13:07:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-26 13:07:49 -0700 |
commit | 385fe4d4b62d7d1dd76116dd570df3290a2f487b (patch) | |
tree | 53d982ff238828331e86acd44071a44162a8688c /tests/CanvasTest.cpp | |
parent | 5015176adf046ef906a2313b6e6b64b72cc84898 (diff) |
Style Change: SkNEW->new; SkDELETE->delete
DOCS_PREVIEW= https://skia.org/?cl=1316123003
Review URL: https://codereview.chromium.org/1316123003
Diffstat (limited to 'tests/CanvasTest.cpp')
-rw-r--r-- | tests/CanvasTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp index c80e6bef95..f7976356e0 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) { |