Closed
Bug 1871347
Opened 1 years ago
Closed 1 years ago
Don't pass a boolean aIsAnimValList to GetDOMWrapper when we can derive it
Categories
(Core :: SVG, task)
Core
SVG
Tracking
()
RESOLVED
FIXED
123 Branch
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: longsonr, Assigned: longsonr)
Details
Attachments
(1 file)
DOMSVGPointList::GetDOMWrapper and DOMSVGPathSegList::GetDOMWrapper take a boolean aIsAnimValList argument.
- boolean arguments are problematical because it's easy to confuse them
- we don't use the argument at all in the common case that the wrapper is found
- we can derive the value we need from the other arguments
- if you pass the wrong boolean value the function won't work at all.
Assignee | ||
Comment 1•1 years ago
|
||
Updated•1 years ago
|
Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Pushed by longsonr@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/92e5593dff89
Don't pass a boolean aIsAnimValList to GetDOMWrapper when we can derive it r=emilio
Comment 3•1 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 years ago
status-firefox123:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•