Index: chrome/browser/history/starred_url_database.cc |
diff --git a/chrome/browser/history/starred_url_database.cc b/chrome/browser/history/starred_url_database.cc |
index a774ecab34404e758ed823fa9e7b94a9744cd913..8b7294480cbf9a9804f0575ca8f927268762fc4c 100644 |
--- a/chrome/browser/history/starred_url_database.cc |
+++ b/chrome/browser/history/starred_url_database.cc |
@@ -42,6 +42,8 @@ |
namespace history { |
+const int64 kBookmarkBarID = 1; |
+ |
namespace { |
// Fields used by FillInStarredEntry. |
@@ -606,9 +608,8 @@ bool StarredURLDatabase::MigrateBookmarksToFileImpl(const FilePath& path) { |
} |
// Register the bookmark bar and other folder nodes in the maps. |
- id_to_node_map[HistoryService::kBookmarkBarID] = &bookmark_bar_node; |
- folder_id_to_id_map[HistoryService::kBookmarkBarID] = |
- HistoryService::kBookmarkBarID; |
+ id_to_node_map[kBookmarkBarID] = &bookmark_bar_node; |
+ folder_id_to_id_map[kBookmarkBarID] = kBookmarkBarID; |
if (other_folder_folder_id) { |
id_to_node_map[other_folder_id] = &other_node; |
folder_id_to_id_map[other_folder_folder_id] = other_folder_id; |