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

Unified Diff: components/test_runner/event_sender.cc

Issue 1665763002: Use std::isnan instead of isnan in global ns (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/PointerEventManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/events/PointerEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698