| Index: third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
|
| index c5a54009314828f538fb9be71d6a00d045178804..408256f3c8abbe4e74ed9be40c0209e2aea63f9f 100644
|
| --- a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
|
| @@ -117,7 +117,7 @@ void TreeScopeAdopter::ensureDidMoveToNewDocumentWasCalled(Document& oldDocument
|
| inline void TreeScopeAdopter::updateTreeScope(Node& node) const
|
| {
|
| DCHECK(!node.isTreeScope());
|
| - DCHECK(node.treeScope() == oldScope());
|
| + DCHECK(node.treeScopeOrDocument() == oldScope());
|
| #if !ENABLE(OILPAN)
|
| newScope().guardRef();
|
| oldScope().guardDeref();
|
|
|