Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: ui/wm/core/nested_accelerator_controller_unittest.cc

Issue 731373002: Enable MSVC warning for unused locals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another Windows fix Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | win8/delegate_execute/crash_server_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/nested_accelerator_controller_unittest.cc
diff --git a/ui/wm/core/nested_accelerator_controller_unittest.cc b/ui/wm/core/nested_accelerator_controller_unittest.cc
index ae8f5f5b2b80c254cbda331b4f5469307d59c7d8..4e55d4f5f26a10d3cd992aab3273672ce81081b8 100644
--- a/ui/wm/core/nested_accelerator_controller_unittest.cc
+++ b/ui/wm/core/nested_accelerator_controller_unittest.cc
@@ -83,7 +83,6 @@ void DispatchKeyReleaseA(aura::Window* root_window) {
aura::WindowTreeHost* host = root_window->GetHost();
HWND hwnd = host->GetAcceleratedWidget();
::PostMessage(hwnd, WM_KEYDOWN, ui::VKEY_A, 0);
- MSG native_event_up = {NULL, WM_KEYUP, ui::VKEY_A, 0};
::PostMessage(hwnd, WM_KEYUP, ui::VKEY_A, 0);
#elif defined(USE_X11)
ui::ScopedXI2Event native_event;
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | win8/delegate_execute/crash_server_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698