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 e8f561967e92a994dd8355ca5f75bb9001516398..d8b7193af42ce2caa886673665624cc9732323ef 100644 |
--- a/chrome/browser/sync/glue/bookmark_model_associator.cc |
+++ b/chrome/browser/sync/glue/bookmark_model_associator.cc |
@@ -420,7 +420,8 @@ syncer::SyncError BookmarkModelAssociator::AssociateModels( |
syncer::SyncMergeResult* syncer_merge_result) { |
// Since any changes to the bookmark model made here are not user initiated, |
// these change should not be undoable and so suspend the undo tracking. |
- ScopedSuspendBookmarkUndo suspend_undo(profile_); |
+ ScopedSuspendBookmarkUndo suspend_undo( |
+ BookmarkUndoServiceFactory::GetForProfileIfExists(profile_)); |
syncer::SyncError error = CheckModelSyncState(local_merge_result, |
syncer_merge_result); |