Index: chrome/browser/sync/glue/bookmark_model_associator.cc |
diff --git a/chrome/browser/sync/glue/bookmark_model_associator.cc b/chrome/browser/sync/glue/bookmark_model_associator.cc |
index 4ea6b9cbffb27d1e1ec0a2234a6afb995e44d0a0..c77bf967c75f2f7b100be31979c5c55ab51a5059 100644 |
--- a/chrome/browser/sync/glue/bookmark_model_associator.cc |
+++ b/chrome/browser/sync/glue/bookmark_model_associator.cc |
@@ -730,9 +730,12 @@ void BookmarkModelAssociator::PersistAssociations() { |
int64 sync_id = *iter; |
syncer::WriteNode sync_node(&trans); |
if (sync_node.InitByIdLookup(sync_id) != syncer::BaseNode::INIT_OK) { |
- unrecoverable_error_handler_->OnSingleDatatypeUnrecoverableError( |
+ syncer::SyncError error( |
FROM_HERE, |
- "Could not lookup bookmark node for ID persistence."); |
+ syncer::SyncError::DATATYPE_ERROR, |
+ "Could not lookup bookmark node for ID persistence.", |
+ syncer::BOOKMARKS); |
+ unrecoverable_error_handler_->OnSingleDataTypeUnrecoverableError(error); |
return; |
} |
const BookmarkNode* node = GetChromeNodeFromSyncId(sync_id); |