diff options
author | yuzus <yuzus@chromium.org> | 2016-01-27 00:23:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-27 08:24:35 +0000 |
commit | 08f320e73b375593ed13c621e73a722df63767c2 (patch) | |
tree | 5cbae80e47f8762170915997338ffb375942ccad /third_party/WebKit/PerformanceTests | |
parent | fe356a2d22a8bf2590ce54d2c9c35cbc8ad0f819 (diff) | |
download | chromium_src-08f320e73b375593ed13c621e73a722df63767c2.zip chromium_src-08f320e73b375593ed13c621e73a722df63767c2.tar.gz chromium_src-08f320e73b375593ed13c621e73a722df63767c2.tar.bz2 |
Modify v1-distribution PerformanceTest
Change getDistributedNodes to getAssignedNodes to make the performance test run.
BUG=531990
Review URL: https://codereview.chromium.org/1630003004
Cr-Commit-Position: refs/heads/master@{#371757}
Diffstat (limited to 'third_party/WebKit/PerformanceTests')
-rw-r--r-- | third_party/WebKit/PerformanceTests/ShadowDOM/v1-distribution.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/PerformanceTests/ShadowDOM/v1-distribution.html b/third_party/WebKit/PerformanceTests/ShadowDOM/v1-distribution.html index 98bd3c6..a3d9d62 100644 --- a/third_party/WebKit/PerformanceTests/ShadowDOM/v1-distribution.html +++ b/third_party/WebKit/PerformanceTests/ShadowDOM/v1-distribution.html @@ -28,9 +28,9 @@ function run() { let div = document.createElement('div'); for (let i = 0; i < loops; ++i) { host.appendChild(div); - slot.getDistributedNodes();; + slot.getAssignedNodes({flatten: true}); host.removeChild(div); - slot.getDistributedNodes();; + slot.getAssignedNodes({flatten: true}); } } |