| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index bb577b81a6a09800f02cd5c42d1c11dc8ad67ea6..97459e43effbd3b49810f13e173f21dab5690b0a 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -427,13 +427,13 @@ bool Internals::isValidContentSelect(Element* insertionPoint, ExceptionState& ex
|
| Node* Internals::treeScopeRootNode(Node* node)
|
| {
|
| ASSERT(node);
|
| - return &node->treeScope().rootNode();
|
| + return &node->treeScopeOrDocument().rootNode();
|
| }
|
|
|
| Node* Internals::parentTreeScope(Node* node)
|
| {
|
| ASSERT(node);
|
| - const TreeScope* parentTreeScope = node->treeScope().parentTreeScope();
|
| + const TreeScope* parentTreeScope = node->treeScopeOrDocument().parentTreeScope();
|
| return parentTreeScope ? &parentTreeScope->rootNode() : 0;
|
| }
|
|
|
|
|