Index: third_party/WebKit/LayoutTests/csspaint/valid-image-after-load.html |
diff --git a/third_party/WebKit/LayoutTests/csspaint/valid-image-after-load.html b/third_party/WebKit/LayoutTests/csspaint/valid-image-after-load.html |
index 2113285c3c458187ddaac0ad14ef5f48fe8ce72f..7bb5bcd96d8c70cd14b20813a85cf6fc02cc9521 100644 |
--- a/third_party/WebKit/LayoutTests/csspaint/valid-image-after-load.html |
+++ b/third_party/WebKit/LayoutTests/csspaint/valid-image-after-load.html |
@@ -28,7 +28,7 @@ if (window.testRunner) { |
} |
var blob = new Blob([document.getElementById('code').textContent]); |
-paintWorklet.import(URL.createObjectURL(blob)).then(function() { |
+paintWorklet.addModule(URL.createObjectURL(blob)).then(function() { |
var el = document.getElementById('output'); |
el.style.backgroundImage = 'paint(green)'; |
runAfterLayoutAndPaint(function() { |