Index: components/test_runner/event_sender.cc |
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc |
index 2bbf4def7219e18dc2008f55f7eafd4d24c5f14a..838b772066cd269b36418d0bc07c25a673334d40 100644 |
--- a/components/test_runner/event_sender.cc |
+++ b/components/test_runner/event_sender.cc |
@@ -1890,7 +1890,7 @@ void EventSender::AddTouchPoint(float x, float y, gin::Arguments* args) { |
&touch_point.radiusY); |
// Set the touch point pressure to zero if it was not set by the caller |
- if (isnan(touch_point.force)) |
+ if (std::isnan(touch_point.force)) |
touch_point.force = 0.0; |
touch_points_.push_back(touch_point); |