Changeset 106649 in webkit
- Timestamp:
- Feb 3, 2012 4:49:14 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r106648 r106649 1 2012-02-03 Allan Sandfeld Jensen <allan.jensen@nokia.com> 2 3 Do not ASSERT on TouchStationary TouchPoint state. 4 https://bugs.webkit.org/show_bug.cgi?id=77620 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 * page/EventHandler.cpp: 9 (WebCore::eventNameForTouchPointState): Explicitly show that TouchStationary is asserted. 10 (WebCore::EventHandler::handleTouchEvent): 11 Remove TouchStationary from ASSERT. The value of HitTestRequest is restored to the 12 value it should have if hittested, but is not used. 13 1 14 2012-02-03 Kentaro Hara <haraken@chromium.org> 2 15 -
trunk/Source/WebCore/page/EventHandler.cpp
r106642 r106649 3282 3282 case PlatformTouchPoint::TouchMoved: 3283 3283 return eventNames().touchmoveEvent; 3284 case PlatformTouchPoint::TouchStationary: 3285 // TouchStationary state is not converted to touch events, so fall through to assert. 3284 3286 default: 3285 3287 ASSERT_NOT_REACHED(); … … 3337 3339 hitType |= HitTestRequest::Release; 3338 3340 break; 3341 case PlatformTouchPoint::TouchStationary: 3342 hitType |= HitTestRequest::Active | HitTestRequest::ReadOnly; 3343 break; 3339 3344 default: 3340 3345 ASSERT_NOT_REACHED(); … … 3369 3374 touchTarget = m_originatingTouchPointTargets.take(touchPointTargetKey); 3370 3375 } else 3371 // No hittest is performed on move , since the target is not allowed to change anyway.3376 // No hittest is performed on move or stationary, since the target is not allowed to change anyway. 3372 3377 touchTarget = m_originatingTouchPointTargets.get(touchPointTargetKey); 3373 3378
Note: See TracChangeset
for help on using the changeset viewer.