| 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
|
| index 323b6a39b4884411eae2700212c99cec8ae272e0..bb1dfef90c1b8396afcf798368b3488cb84a8beb 100644
|
| --- a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-worklet.js
|
| +++ b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-paint-worklet.js
|
| @@ -10,7 +10,7 @@ function importPaintWorkletAndTerminateTestAfterAsyncPaint(code) {
|
| }
|
|
|
| var blob = new Blob([code]);
|
| - paintWorklet.import(URL.createObjectURL(blob)).then(function() {
|
| + paintWorklet.addModule(URL.createObjectURL(blob)).then(function() {
|
| runAfterLayoutAndPaint(function() {
|
| if (window.testRunner) {
|
| testRunner.notifyDone();
|
|
|