summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/task_manager_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/task_manager_view.cc')
-rw-r--r--chrome/browser/views/task_manager_view.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/views/task_manager_view.cc b/chrome/browser/views/task_manager_view.cc
index b41fbe1..5256b03 100644
--- a/chrome/browser/views/task_manager_view.cc
+++ b/chrome/browser/views/task_manager_view.cc
@@ -334,8 +334,7 @@ void TaskManagerView::Init() {
SetContextMenuController(this);
kill_button_ = new views::NativeButton(
this, l10n_util::GetString(IDS_TASK_MANAGER_KILL));
- kill_button_->AddAccelerator(views::Accelerator(base::VKEY_E,
- false, false, false));
+ kill_button_->AddAccelerator(views::Accelerator('E', false, false, false));
kill_button_->SetAccessibleKeyboardShortcut(L"E");
about_memory_link_ = new views::Link(
l10n_util::GetString(IDS_TASK_MANAGER_ABOUT_MEMORY_LINK));
@@ -536,7 +535,7 @@ void TaskManagerView::OnDoubleClick() {
}
void TaskManagerView::OnKeyDown(unsigned short virtual_keycode) {
- if (virtual_keycode == base::VKEY_RETURN)
+ if (virtual_keycode == VK_RETURN)
ActivateFocusedTab();
}