Changeset 269815 in webkit
- Timestamp:
- Nov 14, 2020, 3:59:20 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/API/wpe/ScrollGestureController.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r269810 r269815 1 2020-11-14 Zan Dobersek <zdobersek@igalia.com> 2 3 Unreviewed, suppressing GCC compilation warnings. 4 5 * UIProcess/API/wpe/ScrollGestureController.cpp: 6 (WebKit::ScrollGestureController::handleEvent): 7 Explicitly store the std::abs() results as uint32_t values. This avoids 8 comparison between the otherwise-signed return values and the unsigned 9 constants. 10 1 11 2020-11-13 Sihui Liu <sihui_liu@apple.com> 2 12 -
trunk/Source/WebKit/UIProcess/API/wpe/ScrollGestureController.cpp
r269577 r269815 71 71 }; 72 72 73 autoxOffset = std::abs(touchPoint->x - m_start.x);74 autoyOffset = std::abs(touchPoint->y - m_start.y);73 uint32_t xOffset = std::abs(touchPoint->x - m_start.x); 74 uint32_t yOffset = std::abs(touchPoint->y - m_start.y); 75 75 76 76 if (xOffset >= axisLockReleaseThreshold)
Note:
See TracChangeset
for help on using the changeset viewer.