Closed
Bug 1865867
Opened 10 months ago
Closed 10 months ago
ApartmentRegion improvements
Categories
(Core :: IPC: MSCOM, task)
Tracking
()
RESOLVED
FIXED
122 Branch
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: rkraesig, Assigned: rkraesig)
Details
Attachments
(2 files)
New uses of ApartmentRegion
and its derivatives should probably exclude OLE1 by default; and also should be linted against, just like CoInitializeEx
.
Assignee | ||
Comment 1•10 months ago
|
||
Modernize and clean up ApartmentRegion.h:
-
Apply all of clang-tidy's suggestions.
-
Rename the template parameter
T
(which, as a template parameter, is
typically reserved for types) toAptType
. -
When using
ApartmentRegionT
, includeCOINIT_DISABLE_OLE1DDE
by
default. (Out of an abundance of caution, do not do so for
ApartmentRegion
.)
Assignee | ||
Comment 2•10 months ago
|
||
Add a lint (paralleling the existing lint for CoInitializeEx
) for new
uses of the utility classes defined in ApartmentRegion.h.
Pushed by rkraesig@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d362774cc826
[1/2] Modernize ApartmentRegion{,T} r=handyman
https://hg.mozilla.org/integration/autoland/rev/bc641d1de7e2
[2/2] Add lint for ApartmentRegion and derivatives r=handyman
Comment 4•10 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d362774cc826
https://hg.mozilla.org/mozilla-central/rev/bc641d1de7e2
Status: NEW → RESOLVED
Closed: 10 months ago
status-firefox122:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•