Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1763)

Unified Diff: chrome/browser/gtk/bookmark_editor_gtk.cc

Issue 155456: Try the original CL "Always persist bookmark IDs" again with the fix to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/gtk/bookmark_editor_gtk.cc
===================================================================
--- chrome/browser/gtk/bookmark_editor_gtk.cc (revision 20552)
+++ chrome/browser/gtk/bookmark_editor_gtk.cc (working copy)
@@ -152,7 +152,7 @@
if (show_tree_) {
GtkTreeIter selected_iter;
- int selected_id = node_ ? node_->GetParent()->id() : 0;
+ int64 selected_id = node_ ? node_->GetParent()->id() : 0;
tree_store_ = bookmark_utils::MakeFolderTreeStore();
bookmark_utils::AddToTreeStore(bb_model_, selected_id,
tree_store_, &selected_iter);
@@ -328,7 +328,7 @@
bookmark_utils::GetFolderIcon(),
bookmark_utils::FOLDER_NAME,
l10n_util::GetStringUTF8(IDS_BOOMARK_EDITOR_NEW_FOLDER_NAME).c_str(),
- bookmark_utils::ITEM_ID, 0,
+ bookmark_utils::ITEM_ID, static_cast<int64>(0),
-1);
}
« no previous file with comments | « chrome/browser/extensions/extension_bookmarks_module_constants.cc ('k') | chrome/browser/gtk/bookmark_manager_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698