diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-12 16:36:08 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-12 16:36:08 +0000 |
commit | 84cd099704b3896ca66081a96508572a924f850c (patch) | |
tree | 7c00d3c0ac4d679425f8480d49d7ad92096ea251 /bench/MatrixConvolutionBench.cpp | |
parent | 758bc7aa483da5bf0bdb5e3dbc208902a8506a93 (diff) |
Clean up SkImageFilter.
Rename more occurences of 'target' to 'kernelOffset'.
This is a follow-up patch to
https://codereview.chromium.org/182983003/
BUG=skia:2187
R=senorblanco@chromium.org
Author: dominikg@chromium.org
Review URL: https://codereview.chromium.org/197013003
git-svn-id: http://skia.googlecode.com/svn/trunk@13768 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/MatrixConvolutionBench.cpp')
-rw-r--r-- | bench/MatrixConvolutionBench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/MatrixConvolutionBench.cpp b/bench/MatrixConvolutionBench.cpp index 82529737c1..77910c90a9 100644 --- a/bench/MatrixConvolutionBench.cpp +++ b/bench/MatrixConvolutionBench.cpp @@ -22,8 +22,8 @@ public: SkIntToScalar( 1), SkIntToScalar( 1), SkIntToScalar( 1), }; SkScalar gain = 0.3f, bias = SkIntToScalar(100); - SkIPoint target = SkIPoint::Make(1, 1); - fFilter = SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, target, tileMode, convolveAlpha); + SkIPoint kernelOffset = SkIPoint::Make(1, 1); + fFilter = SkMatrixConvolutionImageFilter::Create(kernelSize, kernel, gain, bias, kernelOffset, tileMode, convolveAlpha); } ~MatrixConvolutionBench() { |