Open Bug 614819 Opened 15 years ago Updated 3 years ago

Consider using RegisterPrefCallback for SVGSwitchElement::FindActiveChild and SVGTests::PassesConditionalProcessingTests

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: jwatt, Unassigned)

Details

(Keywords: perf)

We should consider using RegisterPrefCallback for nsSVGFeatures::PassesConditionalProcessingTests. See bug 614723 comment 2.
This would be a bit annoying because we'd need a static nsString, which would require us to manage its lifetime. Alternatively we could use Preferences::AddStrongObserver like nsGlobalWindow does to update if intl.accept_languages changes.
Summary: Consider using RegisterPrefCallback for nsSVGFeatures::PassesConditionalProcessingTests → Consider using RegisterPrefCallback for SVGSwitchElement::FindActiveChild and SVGTests::PassesConditionalProcessingTests
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.