[Webkit-unassigned] [Bug 76337] Cache CSSStyleSelector::Features in RuleSets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 16 06:07:04 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76337





--- Comment #3 from Antti Koivisto <koivisto at iki.fi>  2012-01-16 06:07:04 PST ---
(In reply to comment #2)
> > Source/WebCore/css/CSSStyleSelector.h:225
> > +    struct RuleSelectorPair {
> > +        RuleSelectorPair(CSSStyleRule* rule, CSSSelector* selector) : rule(rule), selector(selector) { }
> 
> Seems like we should either hide RuleSelectorPair() or make it initialize rule and selector as null pointers.

I think it is better to keep simple structs simple. The constructor is there for convenience only.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list