Index: bench/BlurImageFilterBench.cpp |
diff --git a/bench/BlurImageFilterBench.cpp b/bench/BlurImageFilterBench.cpp |
index 1cc205a70c7d82d683261f2cf80fd2e8d6981939..bd36b5b3c44445ad22e9fb6b2b29a46d48de6516 100644 |
--- a/bench/BlurImageFilterBench.cpp |
+++ b/bench/BlurImageFilterBench.cpp |
@@ -44,7 +44,7 @@ protected: |
virtual void onDraw(const int loops, SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
- paint.setImageFilter(new SkBlurImageFilter(fSigmaX, fSigmaY))->unref(); |
+ paint.setImageFilter(SkBlurImageFilter::Create(fSigmaX, fSigmaY))->unref(); |
for (int i = 0; i < loops; i++) { |
canvas->drawBitmap(fCheckerboard, 0, 0, &paint); |