Index: ash/touch/touch_uma.cc |
diff --git a/ash/touch/touch_uma.cc b/ash/touch/touch_uma.cc |
index a9ca319e3e65bc0cf363479eacc861a5232eabf9..d8117b6bd932d166e08ec45c245f0eaa2b1d6ffc 100644 |
--- a/ash/touch/touch_uma.cc |
+++ b/ash/touch/touch_uma.cc |
@@ -318,7 +318,7 @@ void TouchUMA::RecordTouchEvent(aura::Window* target, |
position = ui::EventLocationFromNative(event.native_event()); |
#endif |
position = gfx::ToFlooredPoint( |
- position.Scale(1. / target->layer()->device_scale_factor())); |
+ gfx::ScalePoint(position, 1. / target->layer()->device_scale_factor())); |
} |
position.set_x(std::min(bounds.width() - 1, std::max(0, position.x()))); |