Chromium Code Reviews| Index: chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc |
| diff --git a/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc b/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc |
| index a480874a206ee1d090a0719ecd1fc25a8bc80115..11f0aec2fdb8356c7997436398039ff149c223a1 100644 |
| --- a/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc |
| +++ b/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc |
| @@ -116,7 +116,8 @@ bool RollbackEntry(syncable::WriteTransaction* trans, |
| entry.Put(syncable::PARENT_ID, backup->ref(syncable::PARENT_ID)); |
| if (!backup->ref(syncable::IS_DEL)) { |
| - CHECK(entry.PutPredecessor(backup->ref(syncable::PREV_ID))); |
| + if (!entry.PutPredecessor(backup->ref(syncable::PREV_ID))) |
| + return false; |
|
akalin
2011/10/15 00:21:24
maybe add NOTREACHED() so that it crashes on debug
lipalani1
2011/10/15 00:36:31
Done.
|
| } |
| if (backup->ref(syncable::PREV_ID) != entry.Get(syncable::PREV_ID)) |