Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 79f04b88ec83890a8848d247200b64bd60850296..297565cd7ef12fefd0ee2547ebe71e95e31eca00 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -100,11 +100,7 @@ bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { |
uint32_t flags = buffer.readUInt(); |
fCropRect = CropRect(rect, flags); |
- if (buffer.isVersionLT(SkReadBuffer::kImageFilterUniqueID_Version)) { |
- fUniqueID = next_image_filter_unique_id(); |
- } else { |
- fUniqueID = buffer.readUInt(); |
- } |
+ fUniqueID = buffer.readUInt(); |
return buffer.isValid(); |
} |