| Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/update-layer-tree.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/update-layer-tree.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/update-layer-tree.html
|
| index a62404e091123b974dd7d873c137ffd15f9c892f..32e686c65d86e06c0a7f6d30c24728c89743a01f 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/update-layer-tree.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/update-layer-tree.html
|
| @@ -12,14 +12,12 @@
|
| <script src="../../../http/tests/inspector/timeline-test.js"></script>
|
| <script>
|
|
|
| -function doActions(callback)
|
| +function doActions()
|
| {
|
| var layer = document.createElement("div");
|
| layer.classList.add("layer");
|
| document.getElementById("parent-layer").appendChild(layer);
|
| -
|
| - if (window.testRunner)
|
| - testRunner.layoutAndPaintAsyncThen(callback);
|
| + return new Promise((fulfill) => testRunner.layoutAndPaintAsyncThen(fulfill));
|
| }
|
|
|
| function test()
|
|
|