class MatchRequest {
STACK_ALLOCATED();
public:
- MatchRequest(RuleSet* ruleSet, bool includeEmptyRules = false, const ContainerNode* scope = 0, bool elementApplyAuthorStyles = true, unsigned styleSheetIndex = 0, const CSSStyleSheet* cssSheet = 0)
+ MatchRequest(RuleSet* ruleSet, bool includeEmptyRules = false, const ContainerNode* scope = 0, const CSSStyleSheet* cssSheet = 0, bool elementApplyAuthorStyles = true, unsigned styleSheetIndex = 0)
: ruleSet(ruleSet)
, includeEmptyRules(includeEmptyRules)
, scope(scope)
+ , styleSheet(cssSheet)
, elementApplyAuthorStyles(elementApplyAuthorStyles)
, styleSheetIndex(styleSheetIndex)
- , styleSheet(cssSheet)
{
// Now that we're about to read from the RuleSet, we're done adding more
// rules to the set and we should make sure it's compacted.
RawPtrWillBeMember<const RuleSet> ruleSet;
const bool includeEmptyRules;
- const ContainerNode* scope;
+ RawPtrWillBeMember<const ContainerNode> scope;
+ RawPtrWillBeMember<const CSSStyleSheet> styleSheet;
const bool elementApplyAuthorStyles;
const unsigned styleSheetIndex;
- RawPtrWillBeMember<const CSSStyleSheet> styleSheet;
};
} // namespace WebCore