aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-11 18:50:03 +0000
committerGravatar sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-11 18:50:03 +0000
commite0e385c1d4171e065348ba17c546b3463a0bd651 (patch)
treeabff95d5584a29e9777b1cce113b55859e68d6f2 /src/core
parentdfc867bab24e184f5093d4eabbac7d9c58cc6320 (diff)
Removed unused parameters
I removed unused parameters wherever it was trivial to do so. Review URL: https://codereview.chromium.org/12469002 git-svn-id: http://skia.googlecode.com/svn/trunk@8068 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkRegion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkRegion.cpp b/src/core/SkRegion.cpp
index 936c87e832..4b50bade62 100644
--- a/src/core/SkRegion.cpp
+++ b/src/core/SkRegion.cpp
@@ -1173,7 +1173,7 @@ static const SkRegion::RunType* skip_intervals_slow(const SkRegion::RunType runs
return runs;
}
-static void compute_bounds(const SkRegion::RunType runs[], int count,
+static void compute_bounds(const SkRegion::RunType runs[],
SkIRect* bounds, int* ySpanCountPtr,
int* intervalCountPtr) {
assert_sentinel(runs[0], false); // top
@@ -1239,7 +1239,7 @@ void SkRegion::validate() const {
{
SkIRect bounds;
int ySpanCount, intervalCount;
- compute_bounds(run, stop - run, &bounds, &ySpanCount, &intervalCount);
+ compute_bounds(run, &bounds, &ySpanCount, &intervalCount);
SkASSERT(bounds == fBounds);
SkASSERT(ySpanCount > 0);