aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/images
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-03-20 12:08:57 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-03-20 12:08:57 +0000
commit797d51acd265fbadd1b54b0974fbb70b8c3d06eb (patch)
treeaa37a229f90981dbf09fa0b015730ada63b68a0e /src/images
parent04225dcdec5a01bc9889b7fb03e7aceb87fccc6e (diff)
forgot to initialize fFactory in the unflatten constructor
git-svn-id: http://skia.googlecode.com/svn/trunk@130 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/images')
-rw-r--r--src/images/SkImageRef.cpp1
1 files changed, 1 insertions, 0 deletions
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 {