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

Unified Diff: src/utils/SkCanvasStack.cpp

Issue 99753002: Fix 'i-i' to 'i-1' in SkCanvasStack. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkCanvasStack.cpp
===================================================================
--- src/utils/SkCanvasStack.cpp (revision 12416)
+++ src/utils/SkCanvasStack.cpp (working copy)
@@ -35,7 +35,7 @@
localBounds.offset(origin - fCanvasData[i-1].origin);
fCanvasData[i-1].requiredClip.op(localBounds, SkRegion::kDifference_Op);
- fList[i-i]->clipRegion(fCanvasData[i-1].requiredClip);
+ fList[i-1]->clipRegion(fCanvasData[i-1].requiredClip);
}
}
SkASSERT(fList.count() == fCanvasData.count());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698