Index: components/reading_list/ios/reading_list_store.cc |
diff --git a/components/reading_list/ios/reading_list_store.cc b/components/reading_list/ios/reading_list_store.cc |
index 4b1f81ab26f4142186e234d27743c24372e98deb..a115eec20f90cdf75f50c9021bc67aec1110ca2b 100644 |
--- a/components/reading_list/ios/reading_list_store.cc |
+++ b/components/reading_list/ios/reading_list_store.cc |
@@ -235,7 +235,7 @@ syncer::SyncError ReadingListStore::MergeSyncData( |
// Write to the store. |
std::unique_ptr<reading_list::ReadingListLocal> entry_local_pb = |
merged_entry->AsReadingListLocal(); |
- batch_->WriteData(entry->URL().spec(), |
+ batch_->WriteData(merged_entry->URL().spec(), |
entry_local_pb->SerializeAsString()); |
// Send to sync |