Index: Source/core/css/resolver/SharedStyleFinder.h |
diff --git a/Source/core/css/resolver/SharedStyleFinder.h b/Source/core/css/resolver/SharedStyleFinder.h |
index 0c263cd034b099d67ea626fc5f77b1515b7176ae..e41c3aab080b2047060d863e622beed14690d76b 100644 |
--- a/Source/core/css/resolver/SharedStyleFinder.h |
+++ b/Source/core/css/resolver/SharedStyleFinder.h |
@@ -36,6 +36,7 @@ class SpaceSplitString; |
class StyleResolver; |
class SharedStyleFinder { |
+ STACK_ALLOCATED(); |
public: |
// RuleSets are passed non-const as the act of matching against them can cause them |
// to be compacted. :( |
@@ -72,8 +73,8 @@ private: |
bool m_elementAffectedByClassRules; |
const RuleFeatureSet& m_features; |
- RuleSet* m_siblingRuleSet; |
- RuleSet* m_uncommonAttributeRuleSet; |
+ RawPtrWillBeMember<RuleSet> m_siblingRuleSet; |
+ RawPtrWillBeMember<RuleSet> m_uncommonAttributeRuleSet; |
StyleResolver& m_styleResolver; |
const ElementResolveContext& m_context; |
}; |