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:
reed@android.com 2009-03-20 12:08:57 +00:00
parent 04225dcdec
commit 797d51acd2

View File

@ -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 {