Index: sync/internal_api/sync_manager_impl_unittest.cc |
diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc |
index 5e69ec5bea44318f3af3c0db50a921f8ce4a37d3..75fbe103089df4fb1abfc1321db2782927efbc15 100644 |
--- a/sync/internal_api/sync_manager_impl_unittest.cc |
+++ b/sync/internal_api/sync_manager_impl_unittest.cc |
@@ -676,7 +676,7 @@ TEST_F(SyncApiTest, GetTotalNodeCountMultipleChildren) { |
TEST_F(SyncApiTest, AttachmentLinking) { |
// Add an entry with an attachment. |
std::string tag1("some tag"); |
- syncer::AttachmentId attachment_id(syncer::AttachmentId::Create()); |
+ syncer::AttachmentId attachment_id(syncer::AttachmentId::Create(0, 0)); |
sync_pb::AttachmentMetadata attachment_metadata; |
sync_pb::AttachmentMetadataRecord* record = attachment_metadata.add_record(); |
*record->mutable_id() = attachment_id.GetProto(); |
@@ -3112,7 +3112,7 @@ TEST_F(SyncManagerChangeProcessingTest, AttachmentMetadataOnlyChanges) { |
FROM_HERE, syncable::SYNCER, share()->directory.get()); |
syncable::MutableEntry article(&trans, syncable::GET_BY_HANDLE, article_id); |
sync_pb::AttachmentMetadata metadata; |
- *metadata.add_record()->mutable_id() = CreateAttachmentIdProto(); |
+ *metadata.add_record()->mutable_id() = CreateAttachmentIdProto(0, 0); |
article.PutAttachmentMetadata(metadata); |
} |
ASSERT_EQ(1UL, GetChangeListSize()); |
@@ -3126,7 +3126,7 @@ TEST_F(SyncManagerChangeProcessingTest, AttachmentMetadataOnlyChanges) { |
FROM_HERE, syncable::SYNCER, share()->directory.get()); |
syncable::MutableEntry article(&trans, syncable::GET_BY_HANDLE, article_id); |
sync_pb::AttachmentMetadata metadata = article.GetAttachmentMetadata(); |
- *metadata.add_record()->mutable_id() = CreateAttachmentIdProto(); |
+ *metadata.add_record()->mutable_id() = CreateAttachmentIdProto(0, 0); |
article.PutAttachmentMetadata(metadata); |
} |
ASSERT_EQ(1UL, GetChangeListSize()); |