Index: Source/core/dom/DocumentStyleSheetCollection.cpp |
diff --git a/Source/core/dom/DocumentStyleSheetCollection.cpp b/Source/core/dom/DocumentStyleSheetCollection.cpp |
index d595eb517679b6c7843b5ec32b7091849204672f..958a40ad391ded43137a0520de38b638cbf9018e 100644 |
--- a/Source/core/dom/DocumentStyleSheetCollection.cpp |
+++ b/Source/core/dom/DocumentStyleSheetCollection.cpp |
@@ -45,10 +45,10 @@ namespace WebCore { |
using namespace HTMLNames; |
-DocumentStyleSheetCollection::DocumentStyleSheetCollection(TreeScope* treeScope) |
+DocumentStyleSheetCollection::DocumentStyleSheetCollection(TreeScope& treeScope) |
: StyleSheetCollection(treeScope) |
{ |
- ASSERT(treeScope->rootNode() == &treeScope->rootNode()->document()); |
+ ASSERT(treeScope.rootNode() == &treeScope.rootNode()->document()); |
} |
void DocumentStyleSheetCollection::collectStyleSheets(StyleSheetCollections* collections, Vector<RefPtr<StyleSheet> >& styleSheets, Vector<RefPtr<CSSStyleSheet> >& activeSheets) |