| Index: tests/DrawFilterTest.cpp
|
| diff --git a/tests/DrawFilterTest.cpp b/tests/DrawFilterTest.cpp
|
| index 13ae5c6bd073753049a9b5b10115a71deefc4c73..de4672dd67e6962fb640f82527843ff8b2337d0c 100644
|
| --- a/tests/DrawFilterTest.cpp
|
| +++ b/tests/DrawFilterTest.cpp
|
| @@ -28,8 +28,7 @@ static void test_saverestore(skiatest::Reporter* reporter) {
|
| SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(10, 10));
|
| SkCanvas* canvas = surface->getCanvas();
|
|
|
| -
|
| - SkAutoTUnref<TestFilter> df(SkNEW(TestFilter));
|
| + SkAutoTUnref<TestFilter> df(new TestFilter);
|
|
|
| REPORTER_ASSERT(reporter, NULL == canvas->getDrawFilter());
|
|
|
|
|