Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index 58a08ecc348bf11dfaf9a2cd88c8d792fc5034b4..a57a1b2fb28b04e317e391ef219f3514ea2f5732 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -278,7 +278,7 @@ |
// optimize away |
SkScalar blueToRedMatrix[20] = { 0 }; |
blueToRedMatrix[2] = blueToRedMatrix[18] = SK_Scalar1; |
- SkAutoTUnref<SkColorFilter> blueToRed(SkColorMatrixFilter::Create(blueToRedMatrix)); |
+ auto blueToRed(SkColorFilter::MakeMatrixFilterRowMajor255(blueToRedMatrix)); |
SkAutoTUnref<SkImageFilter> filter(SkColorFilterImageFilter::Create(blueToRed.get())); |
SkPaint complexPaint; |