| Index: third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-worklet.js
|
| diff --git a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-worklet.js b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-worklet.js
|
| deleted file mode 100644
|
| index 28134915ff312cca656dff3281845a8261496d5d..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-worklet.js
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -// Given a piece of 'code', runs it in the worklet, then once loaded waits for
|
| -// layout and paint, before finishing the test.
|
| -//
|
| -// Usage:
|
| -// importPaintWorkletAndTerminateTestAfterAsyncPaint('/* worklet code goes here. */');
|
| -
|
| -function importPaintWorkletAndTerminateTestAfterAsyncPaint(code) {
|
| - if (window.testRunner) {
|
| - testRunner.waitUntilDone();
|
| - }
|
| -
|
| - var blob = new Blob([code], {type: 'text/javascript'});
|
| - paintWorklet.addModule(URL.createObjectURL(blob)).then(function() {
|
| - runAfterLayoutAndPaint(function() {
|
| - if (window.testRunner) {
|
| - testRunner.notifyDone();
|
| - }
|
| - });
|
| - });
|
| -}
|
|
|