Closed Bug 1420516 Opened 7 years ago Closed 7 years ago

Remove ScrollDirection::NONE

Categories

(Core :: Panning and Zooming, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: botond, Assigned: botond)

References

Details

Attachments

(1 file)

Splitting this out from bug 951793. Removing ScrollDirection::NONE allows us to be more precise about whether or not "no scroll direction" is a valid value for a variable. In cases where it is, Maybe<ScrollDirection> is used as the variable's type. It also facilitates using an EnumSet<ScrollDirection> to represent a set of allowed scroll directions.
Blocks: 951793, 1418387
Attachment #8931786 - Flags: review?(bugmail) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Depends on: 1462370
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: