| Summary: | Momentum Event Dispatcher: Magic Mouse doesn't use momentum event dispatcher | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||
| Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Tim Horton
2021-12-10 17:23:22 PST
Created attachment 446850 [details]
Patch
Comment on attachment 446850 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446850&action=review > Source/WebKit/Shared/mac/ScrollingAccelerationCurveMac.mm:123 > + return fromFixedPoint([(NSNumber *)valueCF.get() floatValue]); Do we need to guard against it not being a CFNumber? Comment on attachment 446850 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446850&action=review >> Source/WebKit/Shared/mac/ScrollingAccelerationCurveMac.mm:123 >> + return fromFixedPoint([(NSNumber *)valueCF.get() floatValue]); > > Do we need to guard against it not being a CFNumber? see the dynamic_cf_cast above Committed r286900 (245128@main): <https://commits.webkit.org/245128@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446850 [details]. |