Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index e63342c936456117043bdaf6ca0b5f4628cad037..3df08a7f5b59f031119248218f29dd643b810b83 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -257,7 +257,8 @@ void forceLinking(); |
void forceLinking() { |
SkLightingImageFilter::CreateDistantLitDiffuse(SkPoint3(0,0,0), 0, 0, 0); |
SkAlphaThresholdFilter::Create(SkRegion(), .5f, .5f); |
- SkMagnifierImageFilter mag(SkRect::MakeWH(SK_Scalar1, SK_Scalar1), SK_Scalar1); |
+ SkAutoTUnref<SkMagnifierImageFilter> mag(SkMagnifierImageFilter::Create( |
+ SkRect::MakeWH(SK_Scalar1, SK_Scalar1), SK_Scalar1)); |
GrConfigConversionEffect::Create(NULL, |
false, |
GrConfigConversionEffect::kNone_PMConversion, |