Closed
Bug 1442695
Opened 7 years ago
Closed 7 years ago
Remove unused GetScrollbarPressStates method
Categories
(Core :: Widget: Cocoa, task)
Core
Widget: Cocoa
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
Attachments
(1 file)
When looking at the scrollbar code for Bug 1431246 I found this method which doesn't appear to be called anywhere: https://searchfox.org/mozilla-central/search?q=GetScrollbarPressStates&path=
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8955607 [details]
Bug 1442695 - Remove unused GetScrollbarPressStates method;
https://reviewboard.mozilla.org/r/224708/#review230734
Looks good to me. Could you please find out when we stopped using this method before landing, to make sure we didn't miss anything? Thanks!
Attachment #8955607 -
Flags: review?(spohl.mozilla.bugs) → review+
Assignee | ||
Comment 3•7 years ago
|
||
I see a call in ESR 45 https://dxr.mozilla.org/mozilla-esr45/search?q=GetScrollbarPressStates but not ESR 52: https://dxr.mozilla.org/mozilla-esr52/search?q=GetScrollbarPressStates. Looks like it was guarded on !nsCocoaFeatures::OnLionOrLater https://dxr.mozilla.org/mozilla-esr45/source/widget/cocoa/nsNativeThemeCocoa.mm#2166.
Comment 4•7 years ago
|
||
Yeah, it became unused when we dropped support for 10.6 (which is the last version that had scrollbars with buttons).
Comment 5•7 years ago
|
||
Great, thanks!
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Pushed by bgrinstead@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/304c6387dab2
Remove unused GetScrollbarPressStates method;r=spohl
Comment 7•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•5 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•