Index: ash/touch/touch_uma.cc |
diff --git a/ash/touch/touch_uma.cc b/ash/touch/touch_uma.cc |
index 4b8cdfbc5bba6429f46328df558de3a8b542df9d..db9f07e1b215e6e33505d995e7a390030d24ee3b 100644 |
--- a/ash/touch/touch_uma.cc |
+++ b/ash/touch/touch_uma.cc |
@@ -343,7 +343,8 @@ void TouchUMA::RecordTouchEvent(aura::Window* target, |
int distance = 0; |
if (details->last_touch_position_.count(event.touch_id())) { |
gfx::Point lastpos = details->last_touch_position_[event.touch_id()]; |
- distance = abs(lastpos.x() - event.x()) + abs(lastpos.y() - event.y()); |
+ distance = |
+ std::abs(lastpos.x() - event.x()) + std::abs(lastpos.y() - event.y()); |
} |
if (details->last_move_time_.count(event.touch_id())) { |