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..cd7da87ce107d75f18b28cb1cf81e7f0c1b1eb07 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,9 @@ 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))) { |
|
akalin
2011/10/15 01:19:44
add TODO to propagate error up, refer to a bug
|
| + NOTREACHED(); |
| + } |
| } |
| if (backup->ref(syncable::PREV_ID) != entry.Get(syncable::PREV_ID)) |