Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index a23496116afd1a3e12e2033b6ed45d214b139dd0..abf5ee11d5079c228c4f13fc5607aa0f6bec63e3 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -3114,13 +3114,12 @@ void Browser::BookmarkAllTabs() { |
BookmarkModel* model = profile()->GetBookmarkModel(); |
DCHECK(model && model->IsLoaded()); |
- BookmarkEditor::EditDetails details; |
- details.type = BookmarkEditor::EditDetails::NEW_FOLDER; |
+ BookmarkEditor::EditDetails details = |
+ BookmarkEditor::EditDetails::AddFolder(model->GetParentForNewNodes()); |
bookmark_utils::GetURLsForOpenTabs(this, &(details.urls)); |
DCHECK(!details.urls.empty()); |
- BookmarkEditor::Show(window()->GetNativeHandle(), profile_, |
- model->GetParentForNewNodes(), details, |
+ BookmarkEditor::Show(window()->GetNativeHandle(), profile_, details, |
BookmarkEditor::SHOW_TREE); |
} |