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

Unified Diff: ui/events/gesture_detection/motion_event.cc

Issue 494833003: Completed webkit radiusX, radiusY and rotationAngle handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaked NaN checks Created 6 years, 4 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
Index: ui/events/gesture_detection/motion_event.cc
diff --git a/ui/events/gesture_detection/motion_event.cc b/ui/events/gesture_detection/motion_event.cc
index d3646cc4f9bd0a00698bd75b0382792af376184a..71a6912d06fc8f31d1fc35b56f5651018fc6a394 100644
--- a/ui/events/gesture_detection/motion_event.cc
+++ b/ui/events/gesture_detection/motion_event.cc
@@ -63,6 +63,8 @@ bool operator==(const MotionEvent& lhs, const MotionEvent& rhs) {
lhs.GetRawX(i) != rhs.GetRawX(rhsi) ||
lhs.GetRawY(i) != rhs.GetRawY(rhsi) ||
lhs.GetTouchMajor(i) != rhs.GetTouchMajor(rhsi) ||
+ lhs.GetTouchMinor(i) != rhs.GetTouchMinor(rhsi) ||
+ lhs.GetOrientation(i) != rhs.GetOrientation(rhsi) ||
lhs.GetPressure(i) != rhs.GetPressure(rhsi) ||
lhs.GetToolType(i) != rhs.GetToolType(rhsi))
return false;

Powered by Google App Engine
This is Rietveld 408576698