| Index: third_party/WebKit/PerformanceTests/TestData/color-changes-measure-frame-time.html
|
| diff --git a/third_party/WebKit/PerformanceTests/TestData/color-changes-measure-frame-time.html b/third_party/WebKit/PerformanceTests/TestData/color-changes-measure-frame-time.html
|
| index a55b2475db72996c102005be71c7593bcee80150..d1c7ee33dc2c69a8ffbe448eb80af1a20f57f7b8 100644
|
| --- a/third_party/WebKit/PerformanceTests/TestData/color-changes-measure-frame-time.html
|
| +++ b/third_party/WebKit/PerformanceTests/TestData/color-changes-measure-frame-time.html
|
| @@ -25,7 +25,7 @@ function buildTree(parent, depth, arity, tagNameCallback, createElementCallback)
|
|
|
| // Build a tall tree that is skinny. A middle layer of
|
| // the tree should have the changeColor class.
|
| -buildTree(document.body, 15, 2,
|
| +buildTree(document.body, 5, 5,
|
| function(depth) {
|
| // Use divs at upper levels to avoid too much layout time.
|
| return depth > 9 ? 'div' : 'span';
|
| @@ -37,20 +37,6 @@ buildTree(document.body, 15, 2,
|
| }
|
| );
|
|
|
| -// Build a short tree that is fat. A middle layer of
|
| -// the tree should have the changeColor class.
|
| -buildTree(document.body, 6, 7,
|
| - function(depth) {
|
| - // Use divs at upper levels to avoid too much layout time.
|
| - return depth > 4 ? 'div' : 'span';
|
| - },
|
| - function(element, depth) {
|
| - element.style.backgroundColor = 'orange';
|
| - if (depth == 3)
|
| - element.setAttribute('class', 'changeColor');
|
| - }
|
| -);
|
| -
|
| var runCount = 0;
|
| var elementsToChange = document.getElementsByClassName('changeColor');
|
| var colors = [
|
|
|