Index: third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js |
diff --git a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js |
index 87e19283ed4ee9a975951b8f608cba325fdd1dbe..f13983446b0a1a7cd95465b8ad9f1b59b52d5330 100644 |
--- a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js |
+++ b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js |
@@ -32,7 +32,7 @@ function testRunnerInvalidationLogging(imageType, tests) { |
} |
`; |
- paintWorklet.import(URL.createObjectURL(new Blob([workletCode]))).then(function() { |
+ paintWorklet.addModule(URL.createObjectURL(new Blob([workletCode]))).then(function() { |
for (let i = 0; i < tests.length; i++) { |
tests[i].paintName = 'paint-' + i; |
registerTest(imageType, tests[i]); |