| Summary: | DragState::type should be Optional<DragSourceAction> instead of OptionSet<DragSourceAction> | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | ahmad.saleem792, darin, thorton, wenson_hsieh |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 212885 | ||
| Bug Blocks: | |||
|
Description
David Kilzer (:ddkilzer)
2020-06-11 11:20:50 PDT
Note that when DragState::type is changed from OptionSet<> to Optional<>, then WTF::Optional<>::hasExactlyOneBitSet() and WTF::Optional<>::toSingleValue() may also be removed. The need for both of these methods are also indicative of the need to change DragState::type to Optional<>. |