Compiler warning/error patch for r8658
git-svn-id: http://skia.googlecode.com/svn/trunk@8659 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ad7d481ea9
commit
31d8191a74
@ -564,7 +564,7 @@ void SkPictureRecord::restore() {
|
||||
}
|
||||
|
||||
uint32_t initialOffset, size;
|
||||
size_t opt;
|
||||
size_t opt = 0;
|
||||
if (!(fRecordFlags & SkPicture::kDisableRecordOptimizations_RecordingFlag)) {
|
||||
for (opt = 0; opt < SK_ARRAY_COUNT(gPictureRecordOpts); ++opt) {
|
||||
if ((*gPictureRecordOpts[opt].fProc)(&fWriter, fRestoreOffsetStack.top(), &fPaints)) {
|
||||
|
Loading…
Reference in New Issue
Block a user