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

Unified Diff: Source/core/css/CSSImportRule.h

Issue 192473003: Move CSSRuleList to the garbage collected heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove persistent from m_authorStyleSheets in StyleEngine.h 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
Index: Source/core/css/CSSImportRule.h
diff --git a/Source/core/css/CSSImportRule.h b/Source/core/css/CSSImportRule.h
index 7fbfd697bde2b4895f59a6dcac32b9cb5f00158d..8075a181e99f794e594646baef250ae414fe17e6 100644
--- a/Source/core/css/CSSImportRule.h
+++ b/Source/core/css/CSSImportRule.h
@@ -36,7 +36,7 @@ class CSSImportRule FINAL : public CSSRule {
public:
static PassRefPtrWillBeRawPtr<CSSImportRule> create(StyleRuleImport* rule, CSSStyleSheet* sheet)
{
- return adoptRefWillBeRefCountedGarbageCollected(new CSSImportRule(rule, sheet));
+ return adoptRefWillBeNoop(new CSSImportRule(rule, sheet));
}
virtual ~CSSImportRule();
@@ -56,7 +56,7 @@ private:
RefPtrWillBeMember<StyleRuleImport> m_importRule;
mutable RefPtrWillBeMember<MediaList> m_mediaCSSOMWrapper;
- mutable RefPtr<CSSStyleSheet> m_styleSheetCSSOMWrapper;
+ mutable RefPtrWillBeMember<CSSStyleSheet> m_styleSheetCSSOMWrapper;
Mads Ager (chromium) 2014/03/10 12:32:56 Thanks. I'm doing the same change as we speak.
Erik Corry 2014/03/12 12:31:27 OK
};
DEFINE_CSS_RULE_TYPE_CASTS(CSSImportRule, IMPORT_RULE);

Powered by Google App Engine
This is Rietveld 408576698