Index: third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-closed-shadowroot2.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-closed-shadowroot2.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-closed-shadowroot2.html |
index 2fdba678e9426b838fa972b4cda96c4f810cd353..30297fff060d206a95e9d62a8425719db1e9553f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-closed-shadowroot2.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-closed-shadowroot2.html |
@@ -25,7 +25,7 @@ debug('Event.path should include only unclosed nodes.'); |
prepareTree(); |
-var target = getNodeInTreeOfTrees('host_open/div2_closed/div3_open/target'); |
+var target = getNodeInComposedTree('host_open/div2_closed/div3_open/target'); |
debug('The full event path should be (length=12):\n' + |
'div#target, #shadow-root (open), div#div3_open, #shadow-root (closed),\n' + |
@@ -37,7 +37,7 @@ debug('On #host_closed, #host_open, and #div2_closed,\n' + |
'will be trimmed (length=8).\n'); |
['host_closed', 'host_open', 'host_open/div2_closed', 'host_open/div2_closed/div3_open', 'host_open/div2_closed/div3_open/target'].forEach(function(nodePath) { |
- var node = getNodeInTreeOfTrees(nodePath); |
+ var node = getNodeInComposedTree(nodePath); |
var eventPath; |
var clickHandler = function(e) { eventPath = e.path; }; |