Bug 198557 - Remove all -2 values for NoButton in favor of an optional type
Summary: Remove all -2 values for NoButton in favor of an optional type
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-05 01:44 PDT by Antoine Quint
Modified: 2019-06-05 01:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2019-06-05 01:44:01 PDT
This is a follow-up task to https://bugs.webkit.org/show_bug.cgi?id=198462. We use magic -2 values in a bunch of places to identify that no button was pressed for mouse events. We should instead use an optional type.