| Index: tests/CanvasTest.cpp
|
| diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp
|
| index 8681ca4f180651823ed2be6f22bbdf73541c9293..05ce60469b5b696b949b02a678e2e691d9c15d9a 100644
|
| --- a/tests/CanvasTest.cpp
|
| +++ b/tests/CanvasTest.cpp
|
| @@ -431,9 +431,8 @@ static void DrawPictureTestStep(SkCanvas* canvas, const TestData& d,
|
| testCanvas->scale(SkIntToScalar(2), SkIntToScalar(1));
|
| testCanvas->clipRect(d.fRect);
|
| testCanvas->drawRect(d.fRect, d.fPaint);
|
| - SkAutoTUnref<SkPicture> testPicture(recorder.endRecording());
|
|
|
| - canvas->drawPicture(testPicture);
|
| + canvas->drawPicture(recorder.finishRecordingAsPicture());
|
| }
|
| TEST_STEP(DrawPicture, DrawPictureTestStep);
|
|
|
|
|