Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index bdca7501b85e19f7ad25bb4b98438dc239679017..a5e1a0df370d23d9e37d3bd912b4368596c8d533 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -374,7 +374,7 @@ Node* Node::pseudoAwareLastChild() const |
Node& Node::treeRoot() const |
{ |
if (isInTreeScope()) |
- return treeScope().rootNode(); |
+ return containingTreeScope().rootNode(); |
const Node* node = this; |
while (node->parentNode()) |
node = node->parentNode(); |