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

Unified Diff: src/core/SkPathHeap.cpp

Issue 12315131: Make SkTDArray accessors const-friendly (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/SkTDict.h ('k') | src/core/SkPictureFlat.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPathHeap.cpp
===================================================================
--- src/core/SkPathHeap.cpp (revision 7881)
+++ src/core/SkPathHeap.cpp (working copy)
@@ -54,8 +54,8 @@
int count = fPaths.count();
buffer.writeInt(count);
- SkPath** iter = fPaths.begin();
- SkPath** stop = fPaths.end();
+ SkPath* const* iter = fPaths.begin();
+ SkPath* const* stop = fPaths.end();
while (iter < stop) {
buffer.writePath(**iter);
iter++;
« no previous file with comments | « include/core/SkTDict.h ('k') | src/core/SkPictureFlat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698