Index: bench/MatrixConvolutionBench.cpp |
diff --git a/bench/MatrixConvolutionBench.cpp b/bench/MatrixConvolutionBench.cpp |
index 0ef32fd3bedce8823e508d4089fbc9187080d4c8..5e3e201a209de841b480af65a5be93b7428ef12a 100644 |
--- a/bench/MatrixConvolutionBench.cpp |
+++ b/bench/MatrixConvolutionBench.cpp |
@@ -21,7 +21,7 @@ public: |
SkIntToScalar( 1), SkIntToScalar(-7), SkIntToScalar( 1), |
SkIntToScalar( 1), SkIntToScalar( 1), SkIntToScalar( 1), |
}; |
- SkScalar gain = SkFloatToScalar(0.3f), bias = SkIntToScalar(100); |
+ SkScalar gain = 0.3f, bias = SkIntToScalar(100); |
SkIPoint target = SkIPoint::Make(1, 1); |
fFilter = new SkMatrixConvolutionImageFilter(kernelSize, kernel, gain, bias, target, tileMode, convolveAlpha); |
} |