Try to avoid extra addref/release when method is not resultNotAddRefed and the result needs wrapping

NEW
Unassigned

Status

()

Core
DOM
5 years ago
5 years ago

People

(Reporter: smaug, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Comment hidden (empty)
Blocks: 580070
Per IRC discussion, we'd basically need to add a version of WrapNewBindingObject that takes a smartptr and we'd need to pass a boolean to WrapObject that says "don't addref".
You need to log in before you can comment on or make changes to this bug.