Use a union in the DOMSVGXxx list item classes to save memory

NEW
Unassigned

Status

()

8 years ago
5 years ago

People

(Reporter: jwatt, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
We should probably use a union in the DOMSVGXxx list item classes to save memory. The nsRefPtr<DOMSVGXxxList> member and mValue member are not used at the same time. We can probably best do this by stealing one of the bit flags.
(Reporter)

Comment 1

8 years ago
Note that we'd need to manually addref/release mList which could be a pain.
You need to log in before you can comment on or make changes to this bug.