| Index: content/browser/renderer_host/input/motion_event_android.cc
|
| diff --git a/content/browser/renderer_host/input/motion_event_android.cc b/content/browser/renderer_host/input/motion_event_android.cc
|
| index 3f18f95561b3d650ccc3b3d36bd040f6f12f587f..5a437f4e4694a5f4f3c52527de2e2f91de20627c 100644
|
| --- a/content/browser/renderer_host/input/motion_event_android.cc
|
| +++ b/content/browser/renderer_host/input/motion_event_android.cc
|
| @@ -6,8 +6,9 @@
|
|
|
| #include <android/input.h>
|
|
|
| +#include <cmath>
|
| +
|
| #include "base/android/jni_android.h"
|
| -#include "base/float_util.h"
|
| #include "jni/MotionEvent_jni.h"
|
| #include "ui/events/event_constants.h"
|
|
|
| @@ -92,7 +93,7 @@ base::TimeTicks FromAndroidTime(int64 time_ms) {
|
| }
|
|
|
| float ToValidFloat(float x) {
|
| - if (base::IsNaN(x))
|
| + if (std::isnan(x))
|
| return 0.f;
|
|
|
| // Wildly large orientation values have been observed in the wild after device
|
|
|