Index: chrome/browser/sync/engine/process_commit_response_command.cc |
diff --git a/chrome/browser/sync/engine/process_commit_response_command.cc b/chrome/browser/sync/engine/process_commit_response_command.cc |
index 64eb442864a432d08c47c32085b41fbd5d93c22e..921248baa76c6406ffcb0e378c34818c90aa5b0a 100644 |
--- a/chrome/browser/sync/engine/process_commit_response_command.cc |
+++ b/chrome/browser/sync/engine/process_commit_response_command.cc |
@@ -435,8 +435,7 @@ void ProcessCommitResponseCommand::OverrideClientFieldsAfterCommit( |
// We just committed successfully, so we assume that the position |
// value we got applies to the PARENT_ID we submitted. |
- syncable::Id new_prev = SyncerUtil::ComputePrevIdFromServerPosition( |
- local_entry->write_transaction(), local_entry, |
+ syncable::Id new_prev = local_entry->ComputePrevIdFromServerPosition( |
local_entry->Get(PARENT_ID)); |
if (!local_entry->PutPredecessor(new_prev)) |
LOG(WARNING) << "PutPredecessor failed after successful commit"; |