From e0e385c1d4171e065348ba17c546b3463a0bd651 Mon Sep 17 00:00:00 2001 From: "sugoi@google.com" Date: Mon, 11 Mar 2013 18:50:03 +0000 Subject: 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 --- src/core/SkRegion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') 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); -- cgit v1.2.3