diff options
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_model.cc')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_model.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model.cc b/chrome/browser/bookmarks/bookmark_model.cc index 34e179f..6540efe 100644 --- a/chrome/browser/bookmarks/bookmark_model.cc +++ b/chrome/browser/bookmarks/bookmark_model.cc @@ -342,6 +342,9 @@ void BookmarkModel::SortChildren(BookmarkNode* parent) { std::sort(parent->children().begin(), parent->children().end(), SortComparator(collator.get())); + if (store_.get()) + store_->ScheduleSave(); + FOR_EACH_OBSERVER(BookmarkModelObserver, observers_, BookmarkNodeChildrenReordered(this, parent)); } |