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 {