Index: remoting/host/local_input_monitor_thread_linux.cc |
diff --git a/remoting/host/local_input_monitor_thread_linux.cc b/remoting/host/local_input_monitor_thread_linux.cc |
index 8bfdd36a0860a9e898dd2d133d05a656396cef9b..2f429d6d6b551d599a6019954f03101d97d3d54d 100644 |
--- a/remoting/host/local_input_monitor_thread_linux.cc |
+++ b/remoting/host/local_input_monitor_thread_linux.cc |
@@ -50,8 +50,8 @@ static void ProcessReply(XPointer thread, |
if (data->category == XRecordFromServer) { |
xEvent* event = reinterpret_cast<xEvent*>(data->data); |
if (event->u.u.type == MotionNotify) { |
- gfx::Point pos(event->u.keyButtonPointer.rootX, |
- event->u.keyButtonPointer.rootY); |
+ SkIPoint pos(SkIPoint::Make(event->u.keyButtonPointer.rootX, |
+ event->u.keyButtonPointer.rootY)); |
reinterpret_cast<LocalInputMonitorThread*>(thread)->LocalMouseMoved(pos); |
} else { |
reinterpret_cast<LocalInputMonitorThread*>(thread)->LocalKeyPressed( |
@@ -162,7 +162,7 @@ void LocalInputMonitorThread::Run() { |
display_ = NULL; |
} |
-void LocalInputMonitorThread::LocalMouseMoved(const gfx::Point& pos) { |
+void LocalInputMonitorThread::LocalMouseMoved(const SkIPoint& pos) { |
host_->LocalMouseMoved(pos); |
} |