Chromium Code Reviews| Index: PerformanceTests/Layout/chapter-reflow.html |
| diff --git a/PerformanceTests/Layout/chapter-reflow.html b/PerformanceTests/Layout/chapter-reflow.html |
| index 11414895c0545da2d3b723d87a7fc75c1b354b30..d40fc858e13bc1f668919cacb664dca0d9bac173 100644 |
| --- a/PerformanceTests/Layout/chapter-reflow.html |
| +++ b/PerformanceTests/Layout/chapter-reflow.html |
| @@ -71,11 +71,11 @@ |
| function test() { |
| style.display = "block"; |
| style.width = "280px"; |
| - target.offsetLeft; |
| + PerfTestRunner.forceLayout(); |
| style.width = "300px"; |
| - target.offsetLeft; |
| + PerfTestRunner.forceLayout(); |
| style.width = "290px"; |
| - target.offsetLeft; |
| + PerfTestRunner.forceLayout(); |
| style.display = "none"; |
| } |