Index: chrome/browser/sync/glue/bookmark_change_processor.cc |
diff --git a/chrome/browser/sync/glue/bookmark_change_processor.cc b/chrome/browser/sync/glue/bookmark_change_processor.cc |
index 32db1f997ea77c5dbda8ae0c4e9fc22e671aca39..be1d351335c70ac773833be97887d98d79615b8f 100644 |
--- a/chrome/browser/sync/glue/bookmark_change_processor.cc |
+++ b/chrome/browser/sync/glue/bookmark_change_processor.cc |
@@ -549,7 +549,8 @@ void BookmarkChangeProcessor::ApplyChangesFromSyncModel( |
model->RemoveObserver(this); |
// Changes made to the bookmark model due to sync should not be undoable. |
- ScopedSuspendBookmarkUndo suspend_undo(profile_); |
+ ScopedSuspendBookmarkUndo suspend_undo( |
+ BookmarkUndoServiceFactory::GetForProfileIfExists(profile_)); |
// Notify UI intensive observers of BookmarkModel that we are about to make |
// potentially significant changes to it, so the updates may be batched. For |