Fix some encapsulation issues of RuleSet
Created attachment 208979 [details] Patch
Comment on attachment 208979 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=208979&action=review > Source/WebCore/css/RuleSet.h:111 > + RuleSetSelectorPair(const RuleSetSelectorPair& rs) : selector(rs.selector), ruleSet(const_cast<RuleSetSelectorPair*>(&rs)->ruleSet.release()) { } I think the word “pair” would be better than “rs” for this variable name. I think it’s awkward to write this as a copy constructor instead of a move constructor. Looks like you are just moving this code, though.
Committed r154299: <http://trac.webkit.org/changeset/154299>