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

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

Issue 220893002: [Oilpan]: Make ElementResolveContext and SharedStyleFinder STACK_ALLOCATED. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/resolver/ElementResolveContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « Source/core/css/resolver/ElementResolveContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698