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

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

Issue 177423010: Oilpan: Remove Persistent handles from heap allocated CSSRule objects and fix finalization of CSSKe… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Keep the size assertion turned on. Created 6 years, 10 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 752721d66f06a0d922eb2ffd055dbf644fca41c9..d5580ce8cf0c1165d7b07439ce55df64b9aafa1b 100644
--- a/Source/core/css/CSSStyleRule.h
+++ b/Source/core/css/CSSStyleRule.h
@@ -52,14 +52,14 @@ public:
// FIXME: Not CSSOM. Remove.
StyleRule* styleRule() const { return m_styleRule.get(); }
- virtual void trace(Visitor* visitor) OVERRIDE { CSSRule::trace(visitor); }
+ virtual void trace(Visitor*) OVERRIDE;
private:
CSSStyleRule(StyleRule*, CSSStyleSheet*);
String generateSelectorText() const;
- RefPtrWillBePersistent<StyleRule> m_styleRule;
+ RefPtrWillBeMember<StyleRule> m_styleRule;
mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper;
};

Powered by Google App Engine
This is Rietveld 408576698