Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html |
| diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html |
| index bf7ebbfcc68e47381f2c6ffad85c8ced76b5fbde..37f2d2e24e18b9c0670b173cd702419db433b808 100644 |
| --- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html |
| +++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout.html |
| @@ -19,6 +19,13 @@ function invalidateAndForceLayout(element) |
| function performActions() |
| { |
| + var script = document.createElement("script"); |
| + script.textContent = "innerPerformActions();"; |
| + document.head.appendChild(script); |
| +} |
| + |
| +function innerPerformActions() |
|
dgozman
2016/01/26 02:45:14
This needs explanation.
pfeldman
2016/01/27 01:24:09
Done.
|
| +{ |
| invalidateAndForceLayout(document.getElementById("invalidate1")); |
| invalidateAndForceLayout(document.getElementById("invalidate2")); |
| } |