Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: src/core/SkRegion.cpp

Issue 12469002: Removed unused parameters (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkInstCnt.h ('k') | src/effects/SkBlurDrawLooper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « include/core/SkInstCnt.h ('k') | src/effects/SkBlurDrawLooper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698