Index: third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js b/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js |
index 98ed4fd60934300904586a6582cd61d594b26a82..17b714ed63050a94c52eea222814ea3e83e44772 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/resources/event-dispatching.js |
@@ -121,7 +121,7 @@ function dumpComposedShadowTree(node, indent) |
indent = indent || ""; |
var output = indent + dumpNode(node) + "\n"; |
var child; |
- for (child = internals.firstChildInComposedTree(node); child; child = internals.nextSiblingInComposedTree(child)) |
+ for (child = internals.firstChildInFlatTree(node); child; child = internals.nextSiblingInFlatTree(child)) |
output += dumpComposedShadowTree(child, indent + "\t"); |
return output; |
} |