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

Unified Diff: Source/core/css/CSSStyleSheet.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/CSSImportRule.cpp ('k') | Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSStyleSheet.h
diff --git a/Source/core/css/CSSStyleSheet.h b/Source/core/css/CSSStyleSheet.h
index 5d6c5068a9c87332d7038c7e077c160aa70a8bee..2ced71a04d16043e65c8515edee005785dbb06b6 100644
--- a/Source/core/css/CSSStyleSheet.h
+++ b/Source/core/css/CSSStyleSheet.h
@@ -93,13 +93,14 @@ public:
class RuleMutationScope {
WTF_MAKE_NONCOPYABLE(RuleMutationScope);
+ STACK_ALLOCATED();
public:
- RuleMutationScope(CSSStyleSheet*);
- RuleMutationScope(CSSRule*);
+ explicit RuleMutationScope(CSSStyleSheet*);
+ explicit RuleMutationScope(CSSRule*);
~RuleMutationScope();
private:
- CSSStyleSheet* m_styleSheet;
+ RawPtrWillBeMember<CSSStyleSheet> m_styleSheet;
};
void willMutateRules();
« no previous file with comments | « Source/core/css/CSSImportRule.cpp ('k') | Source/core/css/CSSStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698