Index: remoting/client/plugin/pepper_input_handler.cc |
diff --git a/remoting/client/plugin/pepper_input_handler.cc b/remoting/client/plugin/pepper_input_handler.cc |
index a018b7e7c8e8e1c39263ec51462d2f8221a1b1fd..e07ff43cd7571417fd223f3b61ad9c695dbf1504 100644 |
--- a/remoting/client/plugin/pepper_input_handler.cc |
+++ b/remoting/client/plugin/pepper_input_handler.cc |
@@ -40,7 +40,7 @@ void PepperInputHandler::HandleCharacterEvent( |
void PepperInputHandler::HandleMouseMoveEvent( |
const pp::MouseInputEvent& event) { |
- gfx::Point p(event.GetPosition().x(), event.GetPosition().y()); |
+ SkIPoint p(SkIPoint::Make(event.GetPosition().x(), event.GetPosition().y())); |
// Pepper gives co-ordinates in the plugin instance's co-ordinate system, |
// which may be different from the host desktop's co-ordinate system. |
double horizontal_ratio = view_->GetHorizontalScaleRatio(); |