Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: third_party/WebKit/PerformanceTests/Events/EventsDispatchingInShadowTrees.html

Issue 1684533002: Rename "tree of trees" to "composed tree". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/PerformanceTests/Events/EventsDispatchingInShadowTrees.html
diff --git a/third_party/WebKit/PerformanceTests/Events/EventsDispatchingInShadowTrees.html b/third_party/WebKit/PerformanceTests/Events/EventsDispatchingInShadowTrees.html
index 3b42efaedf24870bbd468fb347c0feb58e832ed5..fcaa61a8da3481163bc9fb998d3360d5d7ad26aa 100644
--- a/third_party/WebKit/PerformanceTests/Events/EventsDispatchingInShadowTrees.html
+++ b/third_party/WebKit/PerformanceTests/Events/EventsDispatchingInShadowTrees.html
@@ -6,7 +6,7 @@
<body>
<div id="root"></div>
<script>
-function createTreeOfTrees(root, depth, branch, eachTreeHeight)
+function createComposedTree(root, depth, branch, eachTreeHeight)
{
var node = root;
var i;
@@ -21,7 +21,7 @@ function createTreeOfTrees(root, depth, branch, eachTreeHeight)
var child = document.createElement('div');
node.appendChild(child);
var shadowRoot = child.createShadowRoot();
- createTreeOfTrees(shadowRoot, depth - 1, branch, eachTreeHeight);
+ createComposedTree(shadowRoot, depth - 1, branch, eachTreeHeight);
}
}
@@ -46,7 +46,7 @@ function rightMostLeaf(root)
}
var root = document.getElementById('root');
-createTreeOfTrees(root, 10, 2, 50);
+createComposedTree(root, 10, 2, 50);
var leaf1 = leftMostLeaf(root);
var leaf2 = rightMostLeaf(root);

Powered by Google App Engine
This is Rietveld 408576698