diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-28 16:46:35 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-28 16:46:35 +0000 |
commit | 97a056463c8906c9cf430de764b1ae3b482eeeed (patch) | |
tree | c8c9a4ecfe540b3f15e0cf85a87ae52e27312d39 /chrome/browser/cocoa/bookmark_bar_controller.mm | |
parent | f0febe304989583b09a5b3aaa301d8bbe611a766 (diff) | |
download | chromium_src-97a056463c8906c9cf430de764b1ae3b482eeeed.zip chromium_src-97a056463c8906c9cf430de764b1ae3b482eeeed.tar.gz chromium_src-97a056463c8906c9cf430de764b1ae3b482eeeed.tar.bz2 |
Get rid of BookmarkEditor::Show()'s BookmarkEditor::Handler argument.
Still to do: get rid of things which hang on to a handler just so they can pass
it to Show().
BUG=38908
TEST=everything still works
Review URL: http://codereview.chromium.org/1795007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45813 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/bookmark_bar_controller.mm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.mm b/chrome/browser/cocoa/bookmark_bar_controller.mm index 19025d6..1ebe272 100644 --- a/chrome/browser/cocoa/bookmark_bar_controller.mm +++ b/chrome/browser/cocoa/bookmark_bar_controller.mm @@ -1254,8 +1254,7 @@ static BOOL ValueInRangeInclusive(CGFloat low, CGFloat value, CGFloat high) { browser_->profile(), node->GetParent(), BookmarkEditor::EditDetails(node), - BookmarkEditor::SHOW_TREE, - nil); + BookmarkEditor::SHOW_TREE); } - (IBAction)cutBookmark:(id)sender { @@ -1366,8 +1365,7 @@ static BOOL ValueInRangeInclusive(CGFloat low, CGFloat value, CGFloat high) { browser_->profile(), parent, BookmarkEditor::EditDetails(), - BookmarkEditor::SHOW_TREE, - nil); + BookmarkEditor::SHOW_TREE); } // Might be called from the context menu over the bar OR over a |