| Index: tests/RecordOptsTest.cpp
|
| diff --git a/tests/RecordOptsTest.cpp b/tests/RecordOptsTest.cpp
|
| index 77eb76bc0288e6715ef754fa2a906a296962958b..242712da3bb3194be49888c02147d9e9807cb8a7 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;
|
|
|
|
|