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