Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: Source/core/css/resolver/MatchRequest.h

Issue 206043009: Setup parent stylesheet for tree boundary crossing rules. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: compiles on oilpan Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/TreeBoundaryCrossingRules.cpp ('k') | Source/core/css/resolver/ScopedStyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/MatchRequest.h
diff --git a/Source/core/css/resolver/MatchRequest.h b/Source/core/css/resolver/MatchRequest.h
index 199c906e5f023c2b2559f1b6d85630e08181ba15..242a2048cb9a168432d72b93224aafa0210ba501 100644
--- a/Source/core/css/resolver/MatchRequest.h
+++ b/Source/core/css/resolver/MatchRequest.h
@@ -33,13 +33,13 @@ class ContainerNode;
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.
@@ -49,9 +49,9 @@ public:
RawPtrWillBeMember<const RuleSet> ruleSet;
const bool includeEmptyRules;
const ContainerNode* scope;
+ RawPtrWillBeMember<const CSSStyleSheet> styleSheet;
const bool elementApplyAuthorStyles;
const unsigned styleSheetIndex;
- RawPtrWillBeMember<const CSSStyleSheet> styleSheet;
};
} // namespace WebCore
« no previous file with comments | « Source/core/css/TreeBoundaryCrossingRules.cpp ('k') | Source/core/css/resolver/ScopedStyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698