From 797d51acd265fbadd1b54b0974fbb70b8c3d06eb Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Fri, 20 Mar 2009 12:08:57 +0000 Subject: [PATCH] forgot to initialize fFactory in the unflatten constructor git-svn-id: http://skia.googlecode.com/svn/trunk@130 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/images/SkImageRef.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/images/SkImageRef.cpp b/src/images/SkImageRef.cpp index 0865c88595..cff57aa32b 100644 --- a/src/images/SkImageRef.cpp +++ b/src/images/SkImageRef.cpp @@ -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 {