| Index: PerformanceTests/Layout/auto-grid-lots-of-data.html
|
| diff --git a/PerformanceTests/Layout/auto-grid-lots-of-data.html b/PerformanceTests/Layout/auto-grid-lots-of-data.html
|
| index 3949d6c2ca3a2999f0f3f4eb1747cda81bd35dbf..8c1d33852940d329bfc25e8559759717c65f228b 100644
|
| --- a/PerformanceTests/Layout/auto-grid-lots-of-data.html
|
| +++ b/PerformanceTests/Layout/auto-grid-lots-of-data.html
|
| @@ -21,14 +21,14 @@ body {
|
| <script src="../resources/runner.js"></script>
|
| <script>
|
| function startTest() {
|
| - document.body.offsetHeight;
|
| + PerfTestRunner.forceLayoutOrFullFrame();
|
|
|
| var index = 0;
|
| PerfTestRunner.measureRunsPerSecond({
|
| description: "Measures performance of layout on a page using CSS grid layout.",
|
| run: function() {
|
| document.body.style.width = ++index % 2 ? "99%" : "98%";
|
| - document.body.offsetHeight;
|
| + PerfTestRunner.forceLayoutOrFullFrame();
|
| }
|
| });
|
| }
|
|
|