Index: third_party/WebKit/Source/platform/PlatformTouchPoint.h |
diff --git a/third_party/WebKit/Source/platform/PlatformTouchPoint.h b/third_party/WebKit/Source/platform/PlatformTouchPoint.h |
index 9729b67035a93f4b5e5b58e5a8e5938e223aca5c..682bd112fab15562fe5b1839eb719832300468b4 100644 |
--- a/third_party/WebKit/Source/platform/PlatformTouchPoint.h |
+++ b/third_party/WebKit/Source/platform/PlatformTouchPoint.h |
@@ -49,7 +49,7 @@ public: |
FloatPoint pos() const { return m_pos; } |
FloatSize radius() const { return m_radius; } |
float rotationAngle() const { return m_rotationAngle; } |
- float force() const { return pointerProperties().force; } |
+ float force() const { ASSERT(!isnan(pointerProperties().force)); return pointerProperties().force; } |
protected: |
WebPointerProperties m_pointerProperties; |