diff options
Diffstat (limited to 'tests/CanvasTest.cpp')
-rw-r--r-- | tests/CanvasTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp index 597b578e4c..e2ad2ed6b3 100644 --- a/tests/CanvasTest.cpp +++ b/tests/CanvasTest.cpp @@ -503,7 +503,7 @@ static void DrawPictureTestStep(SkCanvas* canvas, testCanvas->drawRect(kTestRect, kTestPaint); SkAutoTUnref<SkPicture> testPicture(recorder.endRecording()); - canvas->drawPicture(*testPicture); + canvas->drawPicture(testPicture); } TEST_STEP(DrawPicture, DrawPictureTestStep); |