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

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

Issue 2837023005: Move MediaQuery classes off BlinkGC heap (Closed)
Patch Set: fix Created 3 years, 8 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 0e2242eb2a42331062961494faaad7d175bc5d4b..0d8134c8416f03c09733f4400f1c47a9c940551a 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();
@@ -96,7 +96,7 @@ class StyleRuleImport : public StyleRuleBase {
const String& charset,
const CSSStyleSheetResource*);
- StyleRuleImport(const String& href, MediaQuerySet*);
+ StyleRuleImport(const String& href, RefPtr<MediaQuerySet>);
void Dispose();
@@ -104,7 +104,7 @@ class StyleRuleImport : public StyleRuleBase {
Member<ImportedStyleSheetClient> style_sheet_client_;
String str_href_;
- Member<MediaQuerySet> media_queries_;
+ RefPtr<MediaQuerySet> media_queries_;
Member<StyleSheetContents> style_sheet_;
Member<CSSStyleSheetResource> resource_;
bool loading_;

Powered by Google App Engine
This is Rietveld 408576698