summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 23:19:25 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-13 23:19:25 +0000
commit7ccb5c84a70f7f87f943ad1d72fde6752be0a57f (patch)
tree03fecb8b55363e324a0ad8eb52c212852db4e989 /chrome
parentc67b85c499e7b85007d32bac2ee9b01493825e44 (diff)
downloadchromium_src-7ccb5c84a70f7f87f943ad1d72fde6752be0a57f.zip
chromium_src-7ccb5c84a70f7f87f943ad1d72fde6752be0a57f.tar.gz
chromium_src-7ccb5c84a70f7f87f943ad1d72fde6752be0a57f.tar.bz2
Fixes bug in adding bookmark groups. Adding wasn't setting the
modified date, which meant newly added groups wouldn't show up in the combobox of the bookmark bubble. BUG=766 TEST=see bug Review URL: http://codereview.chromium.org/10709 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/bookmarks/bookmark_model.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model.cc b/chrome/browser/bookmarks/bookmark_model.cc
index 829298a3..7d8bccc 100644
--- a/chrome/browser/bookmarks/bookmark_model.cc
+++ b/chrome/browser/bookmarks/bookmark_model.cc
@@ -340,6 +340,7 @@ BookmarkNode* BookmarkModel::AddGroup(
}
BookmarkNode* new_node = new BookmarkNode(this, GURL());
+ new_node->date_group_modified_ = Time::Now();
new_node->SetTitle(title);
new_node->type_ = history::StarredEntry::USER_GROUP;