Index: third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html |
index 5ca9dc4e1d219f1f2152c1d78afde335e9524032..ea0c7d7acc74e84db41c4f8ff41b7bd242527253 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html |
@@ -14,7 +14,7 @@ function click(path) { |
debug('click #' + path); |
var clickEvent = document.createEvent("MouseEvents"); |
clickEvent.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); |
- getNodeInTreeOfTrees(path).dispatchEvent(clickEvent); |
+ getNodeInComposedTree(path).dispatchEvent(clickEvent); |
} |
sandbox.appendChild( |
@@ -30,7 +30,7 @@ sandbox.appendChild( |
createDOM('div', {'id': 'G'})))); |
['A', 'B', 'A/', 'A/E', 'A//', 'A//H', 'A//I', 'A///', 'A///F', 'A///G'].forEach(function(path) { |
- getNodeInTreeOfTrees(path).addEventListener('click', function(event) { |
+ getNodeInComposedTree(path).addEventListener('click', function(event) { |
debug('\nevent.path on node ' + dumpNode(event.currentTarget) + ' (target: ' + dumpNode(event.target) + ')'); |
debug(dumpNodeList(event.path)); |
}); |