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

Unified Diff: Source/core/css/CSSStyleRule.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/CSSStyleRule.h
diff --git a/Source/core/css/CSSStyleRule.h b/Source/core/css/CSSStyleRule.h
index d5580ce8cf0c1165d7b07439ce55df64b9aafa1b..e9a9eed11c1577c42ba4497acf2027035cdcbef6 100644
--- a/Source/core/css/CSSStyleRule.h
+++ b/Source/core/css/CSSStyleRule.h
@@ -35,7 +35,7 @@ class CSSStyleRule FINAL : public CSSRule {
public:
static PassRefPtrWillBeRawPtr<CSSStyleRule> create(StyleRule* rule, CSSStyleSheet* sheet)
{
- return adoptRefWillBeRefCountedGarbageCollected(new CSSStyleRule(rule, sheet));
+ return adoptRefWillBeNoop(new CSSStyleRule(rule, sheet));
}
virtual ~CSSStyleRule();

Powered by Google App Engine
This is Rietveld 408576698