Closed Bug 800676 Opened 12 years ago Closed 9 years ago

Double-counting nsAttrValues

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1026985

People

(Reporter: n.nethercote, Unassigned)

Details

Attachments

(1 file)

Attached file partial DMD output
The attached file shows part of DMD's output, more than enough to demonstrate the problem.

Are nsAttrValues shared in some way?
Inline style ones are, after bug 760331.
We're probably double counting shared MiscContainers.
The obvious fix here is not to count MiscContainers of type eCSSStyleRule from nsAttrValue::SizeOfWhatever, but to count them from the hashtable in nsHTMLCSSStyleSheet instead.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: