Closed Bug 1674902 Opened 4 years ago Closed 4 years ago

Minor cleanup

Categories

(Core :: IPC: MSCOM, task)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(5 files, 1 obsolete file)

Just some minor cleanup changes I'd like to make

HRESULT is typedef'd as long, so this patch harmonizes the return codes.

Just a quick patch to reference an existing zeroed-out GUID instead of
instantiating a new one.

Depends on D95597

This is a new check that I'd like to use in some future patches.

Depends on D95598

Some cleanup in our smart pointer stuff: Using move semantics lets us avoid
needing to hack around our static analysis.

Depends on D95599

Just some additional annotations

Depends on D95600

I just wanted to add a better explanation for what the magic 2 constant
is for.

Depends on D95601

Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d1f72c3f70a0
Part 1 - s/uint32_t/long/ for return codes in mscom/Utils.h; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/e88b258d7013
Part 2 - Use CLSID_NULL instead of a distinct null CLSID; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/071d1d593deb
Part 3 - Add IsCurrentThreadNonMainMTA to mscom/Utils.h; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/a71e810d79d0
Part 4 - mscom/Ptr.h cleanup; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/9f6e1866a7c3
Part 5 - Some mscom::ApartmentRegion cleanup; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/e4f63ba14348
Part 6 - mscom::ActivationContext cleanup; r=Jamie
Flags: needinfo?(aklotz)
Attachment #9185293 - Attachment description: Bug 1674902: Part 5 - Some mscom::ApartmentRegion cleanup; r=Jamie → Bug 1674902: Part 4 - Some mscom::ApartmentRegion cleanup; r=Jamie
Attachment #9185294 - Attachment description: Bug 1674902: Part 6 - mscom::ActivationContext cleanup; r=Jamie → Bug 1674902: Part 5 - mscom::ActivationContext cleanup; r=Jamie
Attachment #9185292 - Attachment is obsolete: true
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bf2fd0667ecc
Part 1 - s/uint32_t/long/ for return codes in mscom/Utils.h; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/35bbc3ee7862
Part 2 - Use CLSID_NULL instead of a distinct null CLSID; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/0b263b19e04e
Part 3 - Add IsCurrentThreadNonMainMTA to mscom/Utils.h; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/d4a1afbdb13b
Part 4 - Some mscom::ApartmentRegion cleanup; r=Jamie
https://hg.mozilla.org/integration/autoland/rev/07521b8731a9
Part 5 - mscom::ActivationContext cleanup; r=Jamie
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: