summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorgarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-09 19:27:37 +0000
committergarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-09 19:27:37 +0000
commit5eabca28f1d3224f28c0b51f7a1fd40977c0b31b (patch)
tree48a4c4163e73d2667c9d0ff94e51fc8b85a1d80f /remoting
parent6c2113b6c2efc924febafd0deb6e2cfbc7c972df (diff)
downloadchromium_src-5eabca28f1d3224f28c0b51f7a1fd40977c0b31b.zip
chromium_src-5eabca28f1d3224f28c0b51f7a1fd40977c0b31b.tar.gz
chromium_src-5eabca28f1d3224f28c0b51f7a1fd40977c0b31b.tar.bz2
Fix mouse wheel bug
BUG=none TEST=verified mouse wheel works Review URL: http://codereview.chromium.org/9152007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/client/plugin/pepper_input_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/client/plugin/pepper_input_handler.cc b/remoting/client/plugin/pepper_input_handler.cc
index c505df1..fcea92b 100644
--- a/remoting/client/plugin/pepper_input_handler.cc
+++ b/remoting/client/plugin/pepper_input_handler.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -86,8 +86,8 @@ bool PepperInputHandler::HandleInputEvent(const pp::InputEvent& event) {
wheel_ticks_x_ -= ticks_x;
wheel_ticks_y_ -= ticks_y;
protocol::MouseEvent mouse_event;
- mouse_event.set_wheel_offset_x(wheel_ticks_x_);
- mouse_event.set_wheel_offset_y(wheel_ticks_y_);
+ mouse_event.set_wheel_offset_x(ticks_x);
+ mouse_event.set_wheel_offset_y(ticks_y);
input_stub_->InjectMouseEvent(mouse_event);
}
return true;