| Index: tests/PaintTest.cpp
|
| diff --git a/tests/PaintTest.cpp b/tests/PaintTest.cpp
|
| index b07c0e41ae7d401bed41544988fd189659569910..253ce86769dad008226c5d2b656c77b94ffbf558 100644
|
| --- a/tests/PaintTest.cpp
|
| +++ b/tests/PaintTest.cpp
|
| @@ -147,9 +147,8 @@ DEF_TEST(Paint_copy, reporter) {
|
| // set a few pointers
|
| SkLayerDrawLooper::Builder looperBuilder;
|
| paint.setLooper(looperBuilder.detach());
|
| - SkMaskFilter* mask = SkBlurMaskFilter::Create(kNormal_SkBlurStyle,
|
| - SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(1)));
|
| - paint.setMaskFilter(mask)->unref();
|
| + paint.setMaskFilter(SkBlurMaskFilter::Make(kNormal_SkBlurStyle,
|
| + SkBlurMask::ConvertRadiusToSigma(1)));
|
|
|
| // copy the paint using the copy constructor and check they are the same
|
| SkPaint copiedPaint = paint;
|
|
|