Index: bench/MatrixConvolutionBench.cpp |
diff --git a/bench/MatrixConvolutionBench.cpp b/bench/MatrixConvolutionBench.cpp |
index 1acc0cb01a3c31c92101570f5e9df14660d5fe89..82529737c1bbd344f1206ec279ecdfd92e5469e4 100644 |
--- a/bench/MatrixConvolutionBench.cpp |
+++ b/bench/MatrixConvolutionBench.cpp |
@@ -23,7 +23,7 @@ public: |
}; |
SkScalar gain = 0.3f, bias = SkIntToScalar(100); |
SkIPoint target = SkIPoint::Make(1, 1); |
- fFilter = new SkMatrixConvolutionImageFilter(kernelSize, kernel, gain, bias, target, tileMode, convolveAlpha); |
+ fFilter = SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, target, tileMode, convolveAlpha); |
} |
~MatrixConvolutionBench() { |