summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorgarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 01:10:35 +0000
committergarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 01:10:35 +0000
commit710fa3fcd7b588499f3e76fd152314251e9bda2c (patch)
treed700d5b7199dd62fa079361eee9473a55e0f247a /remoting
parent13cfee927dda75318c34830dc2eb9055552e829d (diff)
downloadchromium_src-710fa3fcd7b588499f3e76fd152314251e9bda2c.zip
chromium_src-710fa3fcd7b588499f3e76fd152314251e9bda2c.tar.gz
chromium_src-710fa3fcd7b588499f3e76fd152314251e9bda2c.tar.bz2
[Chromoting] Fix bug with handling USB keycodes and remove extra logging.
BUG=118707 TEST=None Review URL: https://chromiumcodereview.appspot.com/9720018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/event_executor_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/event_executor_win.cc b/remoting/host/event_executor_win.cc
index 1b46811..07416c2 100644
--- a/remoting/host/event_executor_win.cc
+++ b/remoting/host/event_executor_win.cc
@@ -100,7 +100,7 @@ void EventExecutorWin::HandleKey(const KeyEvent& event) {
// Calculate scan code from key event.
int scancode = INVALID_KEYCODE;
if (event.has_usb_keycode() && event.usb_keycode() != 0) {
- int scancode = UsbKeycodeToWinScancode(event.usb_keycode());
+ scancode = UsbKeycodeToWinScancode(event.usb_keycode());
LOG(INFO) << std::hex << "Host received keycode: " << event.keycode()
<< " usb_keycode: " << event.usb_keycode()
<< " to scancode: " << scancode