Make scroll granularity an enum class
Created attachment 443137 [details] Patch
Created attachment 443340 [details] Patch
Created attachment 443360 [details] Patch
Created attachment 443573 [details] Patch
Created attachment 443589 [details] Patch
Comment on attachment 443589 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443589&action=review > Source/WebKit/UIProcess/WebPageProxy.cpp:3272 > + send(Messages::WebPage::ScrollBy(direction, static_cast<uint32_t>(granularity))); Can you make the IPC message take the enum directly? You should be able to change WebPage.messages.in to use `enum:uint8_t WebCore::ScrollGranularity` or so.
(In reply to Cameron McCormack (:heycam) from comment #6) > Can you make the IPC message take the enum directly? You should be able to > change WebPage.messages.in to use `enum:uint8_t WebCore::ScrollGranularity` > or so. And that might need doing some EnumTraits stuff to get that to work. The rest of the patch looked fine, but I'll wait to see another version.
<rdar://problem/85219827>
*** Bug 232575 has been marked as a duplicate of this bug. ***
Created attachment 443875 [details] Patch
Created attachment 443879 [details] Patch
Created attachment 443884 [details] Patch
Comment on attachment 443884 [details] Patch Looks good, thanks!
Created attachment 443913 [details] Patch
Committed r285640 (244141@main): <https://commits.webkit.org/244141@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443913 [details].