Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: components/reading_list/ios/reading_list_store.cc

Issue 2583823002: Fix crash on mergeSync (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698