Closed
Bug 1858083
Opened 1 year ago
Closed 1 year ago
avoid needless addref in Document::GetBrowsingContext
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
120 Branch
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•1 year ago
|
||
It's a weak pointer but presumably can only die based on main thread actions. The GetBrowsingContext getter is just a plain getter, returning a pointer.
Although small this does show up in the profile in bug 1857094. It's called from some common layout/painting functions.
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e4751df31e74
Avoid needless addref in Document::GetBrowsingContext. r=smaug
Comment 3•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox120:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•