Closed Bug 1462937 Opened Last year Closed Last year

Update C++ callers of GetDirectoryEntries to pass nsIDirectoryEnumerator**

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

Details

Attachments

(1 file)

Bug 1462483 updates nsIFile::GetDirectoryEntries to directly return a nsIDirectoryEnumerator, rather than a nsISimpleEnumerator that can be QIed to one. I added a helper stub to allow C++ callers to call with either out param type, but they should really be updated to use nsIDirectoryEnumerator, especially if they immediately QI to one anyway.
Comment on attachment 8979069 [details]
Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator.

https://reviewboard.mozilla.org/r/245328/#review251426

Thank you!
Attachment #8979069 - Flags: review?(nfroyd) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/2fab91090fafb967999a5d500093c2b7a33ecd77
Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
https://hg.mozilla.org/mozilla-central/rev/2fab91090faf
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Assignee: nobody → kmaglione+bmo
You need to log in before you can comment on or make changes to this bug.