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

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

Issue 196513007: Oilpan: Reapply: Remove all the RefPtrs and most of the raw pointers to style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix assertion for global persistents 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/StyleSheetList.cpp ('k') | Source/core/css/resolver/ScopedStyleResolver.h » ('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 652a42081bb19175ba1704942c581093975112b8..199c906e5f023c2b2559f1b6d85630e08181ba15 100644
--- a/Source/core/css/resolver/MatchRequest.h
+++ b/Source/core/css/resolver/MatchRequest.h
@@ -31,6 +31,7 @@ namespace WebCore {
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)
: ruleSet(ruleSet)
@@ -45,12 +46,12 @@ public:
ruleSet->compactRulesIfNeeded();
}
- const RuleSet* ruleSet;
+ RawPtrWillBeMember<const RuleSet> ruleSet;
const bool includeEmptyRules;
const ContainerNode* scope;
const bool elementApplyAuthorStyles;
const unsigned styleSheetIndex;
- const CSSStyleSheet* styleSheet;
+ RawPtrWillBeMember<const CSSStyleSheet> styleSheet;
};
} // namespace WebCore
« no previous file with comments | « Source/core/css/StyleSheetList.cpp ('k') | Source/core/css/resolver/ScopedStyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698