| Index: Source/core/dom/TreeScopeAdopter.cpp
|
| diff --git a/Source/core/dom/TreeScopeAdopter.cpp b/Source/core/dom/TreeScopeAdopter.cpp
|
| index be8670b91e723b35c2ff73b65e7d2a5ee9eaea84..0c3387c52a815a76261bf897947c44dc9da48949 100644
|
| --- a/Source/core/dom/TreeScopeAdopter.cpp
|
| +++ b/Source/core/dom/TreeScopeAdopter.cpp
|
| @@ -104,7 +104,7 @@ void TreeScopeAdopter::ensureDidMoveToNewDocumentWasCalled(Document* oldDocument
|
| inline void TreeScopeAdopter::updateTreeScope(Node* node) const
|
| {
|
| ASSERT(!node->isTreeScope());
|
| - ASSERT(&node->treeScope() == m_oldScope);
|
| + ASSERT(node->treeScope() == m_oldScope);
|
| m_newScope->guardRef();
|
| m_oldScope->guardDeref();
|
| node->setTreeScope(m_newScope);
|
|
|