avoid refcount churn in StyleSetHandle::Ptr::ReplaceSheets

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
2 years ago
2 years ago

People

(Reporter: heycam, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
dholbert suggests in bug 1244074 comment 15 that we could make CSSStyleSheet::ReplaceSheets take an array of StyleSheetHandle::RefPtrs instead, to avoid the refcount churn here in StyleSetHandle::Ptr::ReplaceSheets.
You need to log in before you can comment on or make changes to this bug.