deCOM nsIMacUtils
Categories
(Core :: XPCOM, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
In her review of my patch in bug 1792355, Nika noted that the methods of nsIMacUtils are never used, and we never construct an instance of nsMacUtilsImpl.
I have a patch that deletes the unused methods, removes the XPIDL interface, then moves all of the private fields and methods into the CPP file and turns nsMacUtilsImpl into a namespace.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
All of the private methods and fields get moved into the .cpp file,
and reordered where needed.
Assignee | ||
Comment 3•2 years ago
|
||
The second patch is a bit of code churn, so I'm not sure if it is entirely worthwhile.
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/63e7210c153a part 1 - deCOM and remove unused methods in nsMacUtilsImpl. r=spohl https://hg.mozilla.org/integration/autoland/rev/83c15124953e part 2 - Turn nsMacUtilsImpl into a namespace. r=spohl
Comment 5•2 years ago
|
||
Backed out for causing build bustages on GMPParent.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/dom/media/gmp/GMPParent.cpp:212:26: error: no member named 'GetArchitecturesForBundle' in namespace 'nsMacUtilsImpl'
Comment 6•2 years ago
|
||
(In reply to Cristian Tuns from comment #5)
[...]
- Failure line: /builds/worker/checkouts/gecko/dom/media/gmp/GMPParent.cpp:212:26: error: no member named 'GetArchitecturesForBundle' in namespace 'nsMacUtilsImpl'
I actually double-checked if we were still using GetArchitecturesForBundle
anywhere before r+-ing the patch, but somehow still missed this case.
Assignee | ||
Comment 7•2 years ago
|
||
Ah, and I was building locally on x86 so I guess it didn't catch it. I thought I looked for the uses, too, but I guess I missed it.
Assignee | ||
Comment 8•2 years ago
|
||
I should have checked more carefully, but it looks like that chunk of code isn't getting indexed by SearchFox. I'll file a bug about it.
Assignee | ||
Comment 9•2 years ago
|
||
The Arch64 build looks green with my new version of the patch.
Comment 10•2 years ago
|
||
Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f425664b9ece part 1 - deCOM and remove unused methods in nsMacUtilsImpl. r=spohl https://hg.mozilla.org/integration/autoland/rev/29a767270609 part 2 - Turn nsMacUtilsImpl into a namespace. r=spohl
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f425664b9ece
https://hg.mozilla.org/mozilla-central/rev/29a767270609
Description
•