Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index a40639cd7a507fd9d2b4753a5fa0cac1245cb784..ff84ce14c5bc39ca253bb210307a5c9ff8330a1d 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -3093,13 +3093,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); |
} |