Index: Source/core/dom/StyleEngine.h |
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h |
index d2a35e761a1581179da4254d66c82062a1800d56..e86639942b5cc4e19745d21a290dc144ef22fb03 100644 |
--- a/Source/core/dom/StyleEngine.h |
+++ b/Source/core/dom/StyleEngine.h |
@@ -90,7 +90,9 @@ public: |
~StyleEngine(); |
+#if !ENABLE(OILPAN) |
void detachFromDocument(); |
+#endif |
const WillBeHeapVector<RefPtrWillBeMember<StyleSheet> >& styleSheetsForStyleSheetList(TreeScope&); |
const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& activeAuthorStyleSheets() const; |
@@ -210,7 +212,7 @@ private: |
static PassRefPtrWillBeRawPtr<CSSStyleSheet> parseSheet(Element*, const String& text, TextPosition startPosition, bool createdByParser); |
- Document& m_document; |
+ RawPtrWillBeMember<Document> m_document; |
bool m_isMaster; |
// Track the number of currently loading top-level stylesheets needed for rendering. |