diff options
Diffstat (limited to 'chrome/browser/views/bookmark_bubble_view.cc')
-rw-r--r-- | chrome/browser/views/bookmark_bubble_view.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/views/bookmark_bubble_view.cc b/chrome/browser/views/bookmark_bubble_view.cc index b81d0ab..9a2a8f6 100644 --- a/chrome/browser/views/bookmark_bubble_view.cc +++ b/chrome/browser/views/bookmark_bubble_view.cc @@ -182,7 +182,9 @@ void BookmarkBubbleView::DidChangeBounds(const gfx::Rect& previous, void BookmarkBubbleView::BubbleShown() { DCHECK(GetWidget()); - GetFocusManager()->RegisterAccelerator( + views::FocusManager* focus_manager = + views::FocusManager::GetFocusManager(GetWidget()->GetNativeView()); + focus_manager->RegisterAccelerator( views::Accelerator(VK_RETURN, false, false, false), this); title_tf_->RequestFocus(); |