diff options
Diffstat (limited to 'tests/RecordOptsTest.cpp')
-rw-r--r-- | tests/RecordOptsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecordOptsTest.cpp b/tests/RecordOptsTest.cpp index 77eb76bc02..242712da3b 100644 --- a/tests/RecordOptsTest.cpp +++ b/tests/RecordOptsTest.cpp @@ -239,7 +239,7 @@ DEF_TEST(RecordOpts_MergeSvgOpacityAndFilterLayers, r) { canvas->drawRect(SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50)), shapePaint); shape = recorder.finishRecordingAsPicture(); } - translucentFilterLayerPaint.setImageFilter(SkPictureImageFilter::Create(shape.get()))->unref(); + translucentFilterLayerPaint.setImageFilter(SkPictureImageFilter::Make(shape)); int index = 0; |