summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/shelf_item_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/shelf_item_dialog.cc')
-rw-r--r--chrome/browser/views/shelf_item_dialog.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/shelf_item_dialog.cc b/chrome/browser/views/shelf_item_dialog.cc
index 636d724..ce3c7b0 100644
--- a/chrome/browser/views/shelf_item_dialog.cc
+++ b/chrome/browser/views/shelf_item_dialog.cc
@@ -259,8 +259,7 @@ bool ShelfItemDialog::AcceleratorPressed(
if (accelerator.GetKeyCode() == VK_ESCAPE) {
window()->Close();
} else if (accelerator.GetKeyCode() == VK_RETURN) {
- views::FocusManager* fm = views::FocusManager::GetFocusManager(
- GetWidget()->GetNativeView());
+ views::FocusManager* fm = GetFocusManager();
if (fm->GetFocusedView() == url_table_) {
// Return on table behaves like a double click.
OnDoubleClick();