| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html
|
| index 99b72c9ade07249a1db8e7512b1e9db994bb2770..aada6d082c5b27a4253fb2423e38746f7433616a 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html
|
| @@ -19,13 +19,13 @@ function prepareTree(root) {
|
|
|
| function assertDistributedNodes(insertionPointId, expectedDistributedNodes) {
|
| debug('\ngetDistributedNodes() for "' + insertionPointId + '" should return [' + expectedDistributedNodes + ']');
|
| - var insertionPoint = getNodeInTreeOfTrees(insertionPointId);
|
| + var insertionPoint = getNodeInComposedTree(insertionPointId);
|
| var distributedNodes = insertionPoint.getDistributedNodes();
|
| window.distributedNodes = distributedNodes;
|
| window.expectedDistributedNodes = expectedDistributedNodes;
|
| shouldBe("distributedNodes.length", "expectedDistributedNodes.length");
|
| for (var i = 0; i < distributedNodes.length && i < expectedDistributedNodes.length; ++i) {
|
| - shouldBe("distributedNodes.item(" + i + ")", "getNodeInTreeOfTrees(expectedDistributedNodes[" + i + "])");
|
| + shouldBe("distributedNodes.item(" + i + ")", "getNodeInComposedTree(expectedDistributedNodes[" + i + "])");
|
| }
|
| }
|
|
|
|
|