| Index: content/shell/shell_web_contents_view_delegate_win.cc
|
| diff --git a/content/shell/shell_web_contents_view_delegate_win.cc b/content/shell/shell_web_contents_view_delegate_win.cc
|
| index 071b1af1b38d3de59c7d38b68fb97c830984a828..df400f76959f8ce234cf42651143ae3cd84ba63c 100644
|
| --- a/content/shell/shell_web_contents_view_delegate_win.cc
|
| +++ b/content/shell/shell_web_contents_view_delegate_win.cc
|
| @@ -216,15 +216,15 @@ void ShellWebContentsViewDelegate::MenuItemSelected(int selection) {
|
| }
|
| case ShellContextMenuItemBackId:
|
| web_contents_->GetController().GoToOffset(-1);
|
| - web_contents_->Focus();
|
| + web_contents_->GetView()->Focus();
|
| break;
|
| case ShellContextMenuItemForwardId:
|
| web_contents_->GetController().GoToOffset(1);
|
| - web_contents_->Focus();
|
| + web_contents_->GetView()->Focus();
|
| break;
|
| case ShellContextMenuItemReloadId:
|
| web_contents_->GetController().Reload(false);
|
| - web_contents_->Focus();
|
| + web_contents_->GetView()->Focus();
|
| break;
|
| case ShellContextMenuItemInspectId: {
|
| ShellDevToolsFrontend::Show(web_contents_);
|
|
|