Closed Bug 1378585 Opened 5 years ago Closed 4 years ago

nsDragDropEventStatus type is not used

Categories

(Core :: Widget, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: arai, Assigned: arai)

Details

(Whiteboard: tpi:+)

Attachments

(1 file)

https://dxr.mozilla.org/mozilla-central/rev/211d4dd61025c0a40caea7a54c9066e051bdde8c/widget/MouseEvents.h#22-30
> enum nsDragDropEventStatus
> {  
>   // The event is a enter
>   nsDragDropEventStatus_eDragEntered,
>   // The event is exit
>   nsDragDropEventStatus_eDragExited,
>   // The event is drop
>   nsDragDropEventStatus_eDrop
> };

There is no reference to the type nor the value.
If they're used implicitly by the raw value, it needs some description in the comment,
otherwise the definition can be removed.
Priority: -- → P3
Whiteboard: tpi:+
Just removed unused enum.
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Attachment #8980202 - Flags: review?(masayuki)
Comment on attachment 8980202 [details] [diff] [review]
Remove unused nsDragDropEventStatus enum.

Indeed. Thank you!
Attachment #8980202 - Flags: review?(masayuki) → review+
https://hg.mozilla.org/mozilla-central/rev/145144b5c4a9
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.