Index: chrome/browser/cocoa/bookmark_editor_base_controller.mm |
diff --git a/chrome/browser/cocoa/bookmark_editor_base_controller.mm b/chrome/browser/cocoa/bookmark_editor_base_controller.mm |
index 017d477c3373b2d57930e5476367d3ddb2ea415a..ac66f2019c49b87277d88f90f051364589a3117b 100644 |
--- a/chrome/browser/cocoa/bookmark_editor_base_controller.mm |
+++ b/chrome/browser/cocoa/bookmark_editor_base_controller.mm |
@@ -59,16 +59,16 @@ void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd, |
Profile* profile, |
const BookmarkNode* parent, |
const EditDetails& details, |
- Configuration configuration, |
- Handler* handler) { |
+ Configuration configuration) { |
BookmarkEditorBaseController* controller = nil; |
+ // TODO(viettrungluu): get rid of |handler:| below and elsewhere. |
if (details.type == EditDetails::NEW_FOLDER) { |
controller = [[BookmarkAllTabsController alloc] |
initWithParentWindow:parent_hwnd |
profile:profile |
parent:parent |
configuration:configuration |
- handler:handler]; |
+ handler:NULL]; |
} else { |
controller = [[BookmarkEditorController alloc] |
initWithParentWindow:parent_hwnd |
@@ -76,7 +76,7 @@ void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd, |
parent:parent |
node:details.existing_node |
configuration:configuration |
- handler:handler]; |
+ handler:NULL]; |
} |
[controller runAsModalSheet]; |
} |