summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 22:44:25 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 22:44:25 +0000
commit55636436487a327d4a15fd39b8fb167ef84dd76e (patch)
tree6a5a6ae8da96ed96a3ffd19416952dd423f6606a /chrome
parent4c22771c386422700af38aeff1a1ea5c036e38c8 (diff)
downloadchromium_src-55636436487a327d4a15fd39b8fb167ef84dd76e.zip
chromium_src-55636436487a327d4a15fd39b8fb167ef84dd76e.tar.gz
chromium_src-55636436487a327d4a15fd39b8fb167ef84dd76e.tar.bz2
Fix "Add Page..." in bookmark bar context menu. Suspect this bug was
always there but it only became an issue when accessibility changes landed. BUG=http://crbug.com/24758 TEST=Open menu. See "add page" sheet show up. Review URL: http://codereview.chromium.org/270096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.mm b/chrome/browser/cocoa/bookmark_bar_controller.mm
index 03248f6..b27e454 100644
--- a/chrome/browser/cocoa/bookmark_bar_controller.mm
+++ b/chrome/browser/cocoa/bookmark_bar_controller.mm
@@ -473,7 +473,7 @@
const BookmarkNode* parent = [self nodeFromMenuItem:sender];
if (!parent)
parent = bookmarkModel_->GetBookmarkBarNode();
- BookmarkEditor::Show([[[self view] window] contentView],
+ BookmarkEditor::Show([[self view] window],
browser_->profile(),
parent,
nil,