Index: bench/MagnifierBench.cpp |
diff --git a/bench/MagnifierBench.cpp b/bench/MagnifierBench.cpp |
index 5c5324427525010d6943e904f7368787b8adc314..3ef2062c4ee0bd29e8bb05f0313218d66bf4dd80 100644 |
--- a/bench/MagnifierBench.cpp |
+++ b/bench/MagnifierBench.cpp |
@@ -38,7 +38,7 @@ protected: |
const int h = fIsSmall ? FILTER_HEIGHT_SMALL : FILTER_HEIGHT_LARGE; |
SkPaint paint; |
paint.setImageFilter( |
- new SkMagnifierImageFilter( |
+ SkMagnifierImageFilter::Create( |
SkRect::MakeXYWH(SkIntToScalar(w / 4), |
SkIntToScalar(h / 4), |
SkIntToScalar(w / 2), |