- initialization order in SkWriter32.h
- size_t -vs- int in rrects.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@6942
2bbb7eff-a529-9590-31e7-
b0007b416f81
// The first complex case needs special handling since it is a square
fRRects[kNumSimpleCases].setRectRadii(SkRect::MakeWH(kTileY-2, kTileY-2), gRadii[0]);
- for (int i = 1; i < SK_ARRAY_COUNT(gRadii); ++i) {
+ for (size_t i = 1; i < SK_ARRAY_COUNT(gRadii); ++i) {
fRRects[kNumSimpleCases+i].setRectRadii(SkRect::MakeWH(kTileX-2, kTileY-2), gRadii[i]);
}
}
SkWriter32(size_t minSize, void* initialStorage, size_t storageSize);
SkWriter32(size_t minSize)
- : fMinSize(minSize),
- fSize(0),
- fWrittenBeforeLastBlock(0),
- fHead(NULL),
- fTail(NULL) {}
+ : fHead(NULL)
+ , fTail(NULL)
+ , fMinSize(minSize)
+ , fSize(0)
+ , fWrittenBeforeLastBlock(0)
+ {}
~SkWriter32();