Index: Source/core/dom/StyleSheetCollection.h |
diff --git a/Source/core/dom/StyleSheetCollection.h b/Source/core/dom/StyleSheetCollection.h |
index 5fc61118096a20aefd7160a59d93635045b031dd..0a896775e257b6cc9c088e0116d6a176fb63b991 100644 |
--- a/Source/core/dom/StyleSheetCollection.h |
+++ b/Source/core/dom/StyleSheetCollection.h |
@@ -68,9 +68,9 @@ public: |
ListHashSet<Node*, 4>* scopingNodesRemoved() { return m_scopingNodesForStyleScoped.scopingNodesRemoved(); } |
protected: |
- explicit StyleSheetCollection(TreeScope*); |
+ explicit StyleSheetCollection(TreeScope&); |
- Document* document() { return m_treeScope->documentScope(); } |
+ Document* document() { return m_treeScope.documentScope(); } |
enum StyleResolverUpdateType { |
Reconstruct, |
@@ -89,7 +89,7 @@ protected: |
Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList; |
Vector<RefPtr<CSSStyleSheet> > m_activeAuthorStyleSheets; |
- TreeScope* m_treeScope; |
+ TreeScope& m_treeScope; |
bool m_hadActiveLoadingStylesheet; |
bool m_usesRemUnits; |