forgot to initialize fFactory in the unflatten constructor
git-svn-id: http://skia.googlecode.com/svn/trunk@130 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
04225dcdec
commit
797d51acd2
@ -163,6 +163,7 @@ SkImageRef::SkImageRef(SkFlattenableReadBuffer& buffer)
|
||||
buffer.read((void*)fStream->getMemoryBase(), length);
|
||||
|
||||
fPrev = fNext = NULL;
|
||||
fFactory = NULL;
|
||||
}
|
||||
|
||||
void SkImageRef::flatten(SkFlattenableWriteBuffer& buffer) const {
|
||||
|
Loading…
Reference in New Issue
Block a user