Changeset 246849 in webkit
- Timestamp:
- Jun 26, 2019, 3:11:30 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r246846 r246849 1 2019-06-26 Antoine Quint <graouts@apple.com> 2 3 [Pointer Events] Respect pointer capture when dispatching mouse boundary events and updating :hover 4 https://bugs.webkit.org/show_bug.cgi?id=198999 5 <rdar://problem/51979477> 6 7 Reviewed by Dean Jackson. 8 9 Make sure we don't return early prior to setting the flag that prevents re-entrancy, or else we would never 10 enter this function again. No new tests, this was caught because Pointer Events WPT tests on iOS tests regressed. 11 12 * page/PointerCaptureController.cpp: 13 (WebCore::PointerCaptureController::processPendingPointerCapture): 14 1 15 2019-06-26 Myles C. Maxfield <mmaxfield@apple.com> 2 16 -
trunk/Source/WebCore/page/PointerCaptureController.cpp
r246844 r246849 410 410 void PointerCaptureController::processPendingPointerCapture(PointerID pointerId) 411 411 { 412 auto iterator = m_activePointerIdsToCapturingData.find(pointerId); 413 if (iterator == m_activePointerIdsToCapturingData.end()) 414 return; 415 412 416 if (m_processingPendingPointerCapture) 413 417 return; 414 418 415 419 m_processingPendingPointerCapture = true; 416 417 auto iterator = m_activePointerIdsToCapturingData.find(pointerId);418 if (iterator == m_activePointerIdsToCapturingData.end())419 return;420 420 421 421 auto& capturingData = iterator->value;
Note:
See TracChangeset
for help on using the changeset viewer.