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

Unified Diff: src/core/SkPictureFlat.h

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 | « src/core/SkPathHeap.cpp ('k') | src/gpu/GrTHashCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureFlat.h
===================================================================
--- src/core/SkPictureFlat.h (revision 7881)
+++ src/core/SkPictureFlat.h (working copy)
@@ -530,7 +530,7 @@
private:
void unflattenIntoArray(T* array) const {
const int count = fData.count();
- const SkFlatData** iter = fData.begin();
+ const SkFlatData* const* iter = fData.begin();
for (int i = 0; i < count; ++i) {
const SkFlatData* element = iter[i];
int index = element->index() - 1;
« no previous file with comments | « src/core/SkPathHeap.cpp ('k') | src/gpu/GrTHashCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698