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

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

Issue 170283019: Change various helper classes to transition types to get CSSValue entirely onto the gc heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/CSSImportRule.h
diff --git a/Source/core/css/CSSImportRule.h b/Source/core/css/CSSImportRule.h
index 95df9c7c1f986dfead3d6a1472ce943d818f8408..f26fa3e37155e65477cdcbdd80781ca858c78462 100644
--- a/Source/core/css/CSSImportRule.h
+++ b/Source/core/css/CSSImportRule.h
@@ -23,6 +23,7 @@
#define CSSImportRule_h
#include "core/css/CSSRule.h"
+#include "heap/Handle.h"
namespace WebCore {
@@ -49,7 +50,7 @@ private:
CSSImportRule(StyleRuleImport*, CSSStyleSheet*);
RefPtr<StyleRuleImport> m_importRule;
- mutable RefPtr<MediaList> m_mediaCSSOMWrapper;
+ mutable RefPtrWillBePersistent<MediaList> m_mediaCSSOMWrapper;
mutable RefPtr<CSSStyleSheet> m_styleSheetCSSOMWrapper;
};

Powered by Google App Engine
This is Rietveld 408576698