| Index: third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| index 1aa7edcbfd206c6d06c079dbf3f1f0787555910b..ae1a8bcdb6e0c1caf1847144d600a8c400329917 100644
|
| --- a/third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| @@ -44,12 +44,12 @@ TreeScopeStyleSheetCollection::TreeScopeStyleSheetCollection(TreeScope& treeScop
|
| {
|
| }
|
|
|
| -void TreeScopeStyleSheetCollection::addStyleSheetCandidateNode(Node* node)
|
| +void TreeScopeStyleSheetCollection::addStyleSheetCandidateNode(Node& node)
|
| {
|
| - if (!node->isConnected())
|
| + if (!node.isConnected())
|
| return;
|
|
|
| - m_styleSheetCandidateNodes.add(node);
|
| + m_styleSheetCandidateNodes.add(&node);
|
| }
|
|
|
| TreeScopeStyleSheetCollection::StyleResolverUpdateType TreeScopeStyleSheetCollection::compareStyleSheets(const HeapVector<Member<CSSStyleSheet>>& oldStyleSheets, const HeapVector<Member<CSSStyleSheet>>& newStylesheets, HeapVector<Member<StyleSheetContents>>& addedSheets)
|
|
|