Chromium Code Reviews

Unified Diff: chrome/browser/bookmarks/bookmark_context_menu_controller.cc

Issue 1795007: Get rid of BookmarkEditor::Show()'s BookmarkEditor::Handler argument. (Closed)
Patch Set: baz Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/bookmarks/bookmark_context_menu_controller.cc
diff --git a/chrome/browser/bookmarks/bookmark_context_menu_controller.cc b/chrome/browser/bookmarks/bookmark_context_menu_controller.cc
index 4f9c140ada1e1e16a27149ae44f886b28830af8f..2e3f67e6659d71967628fc736d21372a5f01d79f 100644
--- a/chrome/browser/bookmarks/bookmark_context_menu_controller.cc
+++ b/chrome/browser/bookmarks/bookmark_context_menu_controller.cc
@@ -178,7 +178,7 @@ void BookmarkContextMenuController::ExecuteCommand(int id) {
editor_config = BookmarkEditor::NO_TREE;
BookmarkEditor::Show(parent_window_, profile_, parent_,
BookmarkEditor::EditDetails(selection_[0]),
- editor_config, NULL);
+ editor_config);
} else {
BookmarkFolderEditorController::Show(profile_, parent_window_,
selection_[0], -1, BookmarkFolderEditorController::NONE);
@@ -210,7 +210,7 @@ void BookmarkContextMenuController::ExecuteCommand(int id) {
BookmarkEditor::Show(
parent_window_, profile_,
bookmark_utils::GetParentForNewNodes(parent_, selection_, NULL),
- BookmarkEditor::EditDetails(), editor_config, NULL);
+ BookmarkEditor::EditDetails(), editor_config);
break;
}
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_editor.h » ('j') | chrome/browser/gtk/bookmark_editor_gtk.cc » ('J')

Powered by Google App Engine