Index: Source/core/css/StyleSheetList.h |
diff --git a/Source/core/css/StyleSheetList.h b/Source/core/css/StyleSheetList.h |
index 5786cfa0d1143d7b16cb685e380bf44793c2a525..f842183b75db671fd97cd91cc162f276bf5abc9d 100644 |
--- a/Source/core/css/StyleSheetList.h |
+++ b/Source/core/css/StyleSheetList.h |
@@ -45,7 +45,10 @@ public: |
Document* document() { return m_treeScope ? &m_treeScope->document() : 0; } |
+#if !ENABLE(OILPAN) |
void detachFromDocument(); |
+#endif |
+ |
CSSStyleSheet* anonymousNamedGetter(const AtomicString&); |
void trace(Visitor*); |
@@ -54,8 +57,10 @@ private: |
StyleSheetList(TreeScope*); |
const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheets(); |
- TreeScope* m_treeScope; |
- WillBeHeapVector<RefPtrWillBeMember<StyleSheet> > m_detachedStyleSheets; |
+ RawPtrWillBeMember<TreeScope> m_treeScope; |
+#if !ENABLE(OILPAN) |
+ Vector<RefPtr<StyleSheet> > m_detachedStyleSheets; |
+#endif |
}; |
} // namespace WebCore |