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

Unified Diff: third_party/WebKit/Source/core/css/StyleRuleImport.h

Issue 2873433003: Move MediaQuery classes off BlinkGC heap (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/core/css/StyleRuleImport.h
diff --git a/third_party/WebKit/Source/core/css/StyleRuleImport.h b/third_party/WebKit/Source/core/css/StyleRuleImport.h
index 7ddc61e39526d23e56cc52377cb1190e08466125..ce613d5a0b89e1b264cedee7ef208cf750888aa4 100644
--- a/third_party/WebKit/Source/core/css/StyleRuleImport.h
+++ b/third_party/WebKit/Source/core/css/StyleRuleImport.h
@@ -36,7 +36,7 @@ class StyleRuleImport : public StyleRuleBase {
USING_PRE_FINALIZER(StyleRuleImport, dispose);
public:
- static StyleRuleImport* create(const String& href, MediaQuerySet*);
+ static StyleRuleImport* create(const String& href, RefPtr<MediaQuerySet>);
~StyleRuleImport();
@@ -93,7 +93,7 @@ class StyleRuleImport : public StyleRuleBase {
const String& charset,
const CSSStyleSheetResource*);
- StyleRuleImport(const String& href, MediaQuerySet*);
+ StyleRuleImport(const String& href, RefPtr<MediaQuerySet>);
void dispose();
@@ -101,7 +101,7 @@ class StyleRuleImport : public StyleRuleBase {
Member<ImportedStyleSheetClient> m_styleSheetClient;
String m_strHref;
- Member<MediaQuerySet> m_mediaQueries;
+ RefPtr<MediaQuerySet> m_mediaQueries;
Member<StyleSheetContents> m_styleSheet;
Member<CSSStyleSheetResource> m_resource;
bool m_loading;
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRule.cpp ('k') | third_party/WebKit/Source/core/css/StyleRuleImport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698