| Index: sky/tests/resources/run-after-display.sky
|
| diff --git a/sky/tests/resources/run-after-display.sky b/sky/tests/resources/run-after-display.sky
|
| deleted file mode 100644
|
| index f46b941b95716729791fe5672b2364e056d28938..0000000000000000000000000000000000000000
|
| --- a/sky/tests/resources/run-after-display.sky
|
| +++ /dev/null
|
| @@ -1,14 +0,0 @@
|
| -<script>
|
| -import "dart:async";
|
| -import "dart:sky";
|
| -
|
| -void runAfterDisplay(void callback()) {
|
| - window.requestAnimationFrame((_) {
|
| - // At this point, only the animate has happened, but no compositing
|
| - // or layout. Use a timeout for the callback so that notifyDone
|
| - // can be called inside of it.
|
| - // FIXME: we need a better way of waiting for chromium events to happen
|
| - new Timer(Duration.ZERO, callback);
|
| - });
|
| -}
|
| -</script>
|
|
|