Index: sync/internal_api/attachments/on_disk_attachment_store.cc |
diff --git a/sync/internal_api/attachments/on_disk_attachment_store.cc b/sync/internal_api/attachments/on_disk_attachment_store.cc |
index 7b715e03b7e7b254ecf6db283f285d218be9808f..f4c10e3b1af3451827c2a510725842d4387ea2e1 100644 |
--- a/sync/internal_api/attachments/on_disk_attachment_store.cc |
+++ b/sync/internal_api/attachments/on_disk_attachment_store.cc |
@@ -321,7 +321,7 @@ scoped_ptr<Attachment> OnDiskAttachmentStore::ReadSingleAttachment( |
return attachment.Pass(); |
} |
attachment.reset( |
- new Attachment(Attachment::CreateFromParts(attachment_id, data, crc32c))); |
+ new Attachment(Attachment::CreateFromParts(attachment_id, data))); |
pavely
2015/03/07 00:07:25
Maybe check that attachment_id's crc matches the o
maniscalco
2015/03/09 17:09:00
Good idea. Done with test case to verify.
|
return attachment.Pass(); |
} |