Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(915)

Unified Diff: remoting/host/local_input_monitor_chromeos.cc

Issue 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointfconvert-gfx: . Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/local_input_monitor_chromeos.cc
diff --git a/remoting/host/local_input_monitor_chromeos.cc b/remoting/host/local_input_monitor_chromeos.cc
index 6fd8770dcef3ddd6a584dc30c81549f666ee2170..dab02e5c1dc4f37a815f2de1202561c0654f73c1 100644
--- a/remoting/host/local_input_monitor_chromeos.cc
+++ b/remoting/host/local_input_monitor_chromeos.cc
@@ -115,7 +115,7 @@ void LocalInputMonitorChromeos::Core::DidProcessEvent(
void LocalInputMonitorChromeos::Core::HandleMouseMove(
const ui::PlatformEvent& event) {
- gfx::PointF mouse_position = ui::EventLocationFromNative(event);
+ auto mouse_position = gfx::PointF(ui::EventLocationFromNative(event));
mouse_position = point_transformer_->FromScreenCoordinates(mouse_position);
caller_task_runner_->PostTask(

Powered by Google App Engine
This is Rietveld 408576698