| Index: Source/core/dom/StyleSheetCollection.cpp
|
| diff --git a/Source/core/dom/StyleSheetCollection.cpp b/Source/core/dom/StyleSheetCollection.cpp
|
| index 8a2b1026a27dfe61b3c3bbb0ea54dae9d562835a..1edd2b8fb2a030a40526af96c1745f91ca94a4de 100644
|
| --- a/Source/core/dom/StyleSheetCollection.cpp
|
| +++ b/Source/core/dom/StyleSheetCollection.cpp
|
| @@ -39,7 +39,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -StyleSheetCollection::StyleSheetCollection(TreeScope* treeScope)
|
| +StyleSheetCollection::StyleSheetCollection(TreeScope& treeScope)
|
| : m_treeScope(treeScope)
|
| , m_hadActiveLoadingStylesheet(false)
|
| {
|
| @@ -160,7 +160,7 @@ void StyleSheetCollection::resetAllRuleSetsInTreeScope(StyleResolver* styleResol
|
| for (ListHashSet<Node*, 4>::iterator it = removedNodes->begin(); it != removedNodes->end(); ++it)
|
| styleResolver->resetAuthorStyle(toContainerNode(*it));
|
| }
|
| - styleResolver->resetAuthorStyle(toContainerNode(m_treeScope->rootNode()));
|
| + styleResolver->resetAuthorStyle(toContainerNode(m_treeScope.rootNode()));
|
| }
|
|
|
| static bool styleSheetsUseRemUnits(const Vector<RefPtr<CSSStyleSheet> >& sheets)
|
|
|