| Index: chrome/browser/ui/views/location_bar/star_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/location_bar/star_view.cc (revision 74326)
|
| +++ chrome/browser/ui/views/location_bar/star_view.cc (working copy)
|
| @@ -59,8 +59,7 @@
|
| }
|
|
|
| bool StarView::OnKeyPressed(const views::KeyEvent& e) {
|
| - if (e.GetKeyCode() == ui::VKEY_SPACE ||
|
| - e.GetKeyCode() == ui::VKEY_RETURN) {
|
| + if (e.key_code() == ui::VKEY_SPACE || e.key_code() == ui::VKEY_RETURN) {
|
| command_updater_->ExecuteCommand(IDC_BOOKMARK_PAGE);
|
| return true;
|
| }
|
|
|