Index: src/core/SkRegion.cpp |
=================================================================== |
--- src/core/SkRegion.cpp (revision 7988) |
+++ src/core/SkRegion.cpp (working copy) |
@@ -1173,7 +1173,7 @@ |
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 @@ |
{ |
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); |