Index: Source/core/xml/XSLImportRule.h |
diff --git a/Source/core/xml/XSLImportRule.h b/Source/core/xml/XSLImportRule.h |
index 4d9a77a67e99b20370a589213ac15794b18ed2d0..3521e696d9d4ac849528c4f893207a1a7db1f76d 100644 |
--- a/Source/core/xml/XSLImportRule.h |
+++ b/Source/core/xml/XSLImportRule.h |
@@ -58,9 +58,12 @@ private: |
virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) OVERRIDE; |
+ // FIXME: Oilpan: This raw pointer is safe and has to be kept raw at this |
+ // point to avoid cycles. When XSLImportRule is moved to the oilpan heap |
+ // it should be a Member and be traced. |
XSLStyleSheet* m_parentStyleSheet; |
String m_strHref; |
- RefPtr<XSLStyleSheet> m_styleSheet; |
+ RefPtrWillBePersistent<XSLStyleSheet> m_styleSheet; |
ResourcePtr<XSLStyleSheetResource> m_resource; |
bool m_loading; |
}; |