From 3e14d38f1732622b622726da4da6b09b5c7a515f Mon Sep 17 00:00:00 2001 From: "eero.hakkinen" Date: Tue, 8 Dec 2015 01:05:45 -0800 Subject: Fix WebTouchPoint DCHECKS. A non-zero touch major axis does not imply a non-zero touch minor axis. Review URL: https://codereview.chromium.org/1502553002 Cr-Commit-Position: refs/heads/master@{#363766} --- ui/events/blink/blink_event_util.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'ui/events/blink') diff --git a/ui/events/blink/blink_event_util.cc b/ui/events/blink/blink_event_util.cc index 5ceb267..0a2616f 100644 --- a/ui/events/blink/blink_event_util.cc +++ b/ui/events/blink/blink_event_util.cc @@ -122,9 +122,6 @@ WebTouchPoint CreateWebTouchPoint(const MotionEvent& event, float major_radius = event.GetTouchMajor(pointer_index) / 2.f; float minor_radius = event.GetTouchMinor(pointer_index) / 2.f; - DCHECK_LE(minor_radius, major_radius); - DCHECK(!major_radius || minor_radius); - float orientation_rad = event.GetOrientation(pointer_index); float orientation_deg = orientation_rad * 180.f / M_PI; DCHECK_GE(major_radius, 0); -- cgit v1.1