diff options
author | 2015-08-26 13:07:48 -0700 | |
---|---|---|
committer | 2015-08-26 13:07:49 -0700 | |
commit | 385fe4d4b62d7d1dd76116dd570df3290a2f487b (patch) | |
tree | 53d982ff238828331e86acd44071a44162a8688c /tests/SkpSkGrTest.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/SkpSkGrTest.cpp')
-rw-r--r-- | tests/SkpSkGrTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/SkpSkGrTest.cpp b/tests/SkpSkGrTest.cpp index 212b0f6abd..23cd30c0c1 100644 --- a/tests/SkpSkGrTest.cpp +++ b/tests/SkpSkGrTest.cpp @@ -164,7 +164,7 @@ public: SkpSkGrThreadedTestRunner::~SkpSkGrThreadedTestRunner() { for (int index = 0; index < fRunnables.count(); index++) { - SkDELETE(fRunnables[index]); + delete fRunnables[index]; } } @@ -477,7 +477,7 @@ void TestResult::testOne() { } } finish: - SkDELETE(pic); + delete pic; } static SkString makeStatusString(int dirNo) { @@ -705,8 +705,8 @@ DEF_TEST(SkpSkGrThreaded, reporter) { goto skipOver; } } - *testRunner.fRunnables.append() = SkNEW_ARGS(SkpSkGrThreadedRunnable, - (&testSkGrMain, dirIndex, filename.c_str(), &testRunner)); + *testRunner.fRunnables.append() = new SkpSkGrThreadedRunnable( + &testSkGrMain, dirIndex, filename.c_str(), &testRunner); skipOver: ; } |