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 a4045106859b7e4c826f9454f50db7776a577b3f..2dd4c89ba51a88ccf1d19c755ec72f6332ebdd66 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -457,7 +457,7 @@ Node* Node::pseudoAwareLastChild() const |
Node& Node::treeRoot() const |
{ |
if (isInTreeScope()) |
- return treeScope().rootNode(); |
+ return rootTreeScope().rootNode(); |
const Node* node = this; |
while (node->parentNode()) |
node = node->parentNode(); |