Index: trunk/src/remoting/protocol/input_event_tracker.cc |
=================================================================== |
--- trunk/src/remoting/protocol/input_event_tracker.cc (revision 224204) |
+++ trunk/src/remoting/protocol/input_event_tracker.cc (working copy) |
@@ -12,6 +12,7 @@ |
InputEventTracker::InputEventTracker(InputStub* input_stub) |
: input_stub_(input_stub), |
+ mouse_pos_(SkIPoint::Make(0, 0)), |
mouse_button_state_(0) { |
} |
@@ -73,7 +74,7 @@ |
void InputEventTracker::InjectMouseEvent(const MouseEvent& event) { |
if (event.has_x() && event.has_y()) { |
- mouse_pos_ = webrtc::DesktopVector(event.x(), event.y()); |
+ mouse_pos_ = SkIPoint::Make(event.x(), event.y()); |
} |
if (event.has_button() && event.has_button_down()) { |
// Button values are defined in remoting/proto/event.proto. |